Return-Path: Delivered-To: apmail-openejb-dev-archive@www.apache.org Received: (qmail 56633 invoked from network); 10 Nov 2009 18:27:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Nov 2009 18:27:58 -0000 Received: (qmail 64340 invoked by uid 500); 10 Nov 2009 18:27:58 -0000 Delivered-To: apmail-openejb-dev-archive@openejb.apache.org Received: (qmail 64289 invoked by uid 500); 10 Nov 2009 18:27:58 -0000 Mailing-List: contact dev-help@openejb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openejb.apache.org Delivered-To: mailing list dev@openejb.apache.org Received: (qmail 64279 invoked by uid 99); 10 Nov 2009 18:27:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Nov 2009 18:27:58 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of david.blevins@visi.com designates 208.42.176.212 as permitted sender) Received: from [208.42.176.212] (HELO g2host.com) (208.42.176.212) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Nov 2009 18:27:56 +0000 Received: from [71.106.81.39] (account dblevins@visi.com HELO [192.168.42.2]) by mailfront1.g2host.com (CommuniGate Pro SMTP 5.1.16) with ESMTPSA id 125901647 for dev@openejb.apache.org; Tue, 10 Nov 2009 12:27:34 -0600 Message-Id: <3A59F45D-9DD0-4D8E-BD12-283EF0FC59CD@visi.com> From: David Blevins To: dev@openejb.apache.org In-Reply-To: <5e7fd1eb0911100736rbd647c3j6cf418b5c268168b@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: Propagating extra context information in remote EJB calls Date: Tue, 10 Nov 2009 10:27:32 -0800 References: <5e7fd1eb0910290116t63484117m2187607b56844cb0@mail.gmail.com> <120D6DB7-2831-4A7B-8C0D-FDECCD7DAFDD@visi.com> <5e7fd1eb0911100736rbd647c3j6cf418b5c268168b@mail.gmail.com> X-Mailer: Apple Mail (2.936) On Nov 10, 2009, at 7:36 AM, Jack Cai wrote: > Are you suggesting that I shall write a servlet to > receive the client call and then forward to the openejb server? Right, exactly. On the client side you'd point to the servlet address. The servlet could be added to an existing webapp for now. For the long term it would be really great to have a servlet like the one I posted as a standard part of the Geronimo integration. This is the one we use in the Tomcat integration: http://svn.apache.org/repos/asf/openejb/trunk/openejb3/server/openejb-http/src/main/java/org/apache/openejb/server/httpd/ServerServlet.java It doesn't do anything with the HTTP headers yet, but it could. -David