Return-Path: Delivered-To: apmail-openejb-dev-archive@www.apache.org Received: (qmail 9282 invoked from network); 2 Apr 2008 08:20:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Apr 2008 08:20:59 -0000 Received: (qmail 11672 invoked by uid 500); 2 Apr 2008 08:20:58 -0000 Delivered-To: apmail-openejb-dev-archive@openejb.apache.org Received: (qmail 11658 invoked by uid 500); 2 Apr 2008 08:20: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 11649 invoked by uid 99); 2 Apr 2008 08:20:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 01:20:58 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS 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; Wed, 02 Apr 2008 08:20:17 +0000 Received: from [75.161.152.126] (account dblevins@visi.com HELO [192.168.7.51]) by mailfront1.g2host.com (CommuniGate Pro SMTP 5.1.14) with ESMTPSA id 44611241 for dev@openejb.apache.org; Wed, 02 Apr 2008 03:20:16 -0500 Message-Id: From: David Blevins To: dev@openejb.apache.org In-Reply-To: <0C77256A-3292-4A42-A841-F6797679EEF6@visi.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Subject: Re: Regarding jndi names of EJB 2.1 beans Date: Wed, 2 Apr 2008 01:20:28 -0700 References: <466797bd0803310419h7c56c516i202c439c8a24ff1b@mail.gmail.com> <986999EE-67AC-4CAC-8A32-895EECEB1473@visi.com> <466797bd0804020036l73356bc4k953cf0c542ed2ed5@mail.gmail.com> <0C77256A-3292-4A42-A841-F6797679EEF6@visi.com> X-Mailer: Apple Mail (2.919.2) X-Virus-Checked: Checked by ClamAV on apache.org On Apr 2, 2008, at 1:05 AM, David Blevins wrote: > Just an FYI also, the legacy element applies strictly to > javax.ejb.EJBHome interfaces as it always did. Make sure you're not > testing a EJB 3.0 style business interface; the new element > covers those as well as legacy interfaces. Seemed pretty clear you're talking only about 2.1 views, but felt the need to be explicit just in case :) (never hurts) -David > > On Apr 2, 2008, at 12:36 AM, Manu George wrote: >> I just saw the output that is printed to the log as JNDI name for one >> of the samples. Maybe its just the logging for the jndi names that is >> not picking it up. Let me verify this >> >> Regards >> Manu >> >> On Wed, Apr 2, 2008 at 1:47 AM, David Blevins >> wrote: >>> >>> >>> On Mar 31, 2008, at 4:19 AM, Manu George wrote: >>>> Hi, >>>> Previously we used to have a jndi-name in the openejb-jar.xml for >>>> geronimo. Currently for EJB 2.1 beans we dont use the values in >>>> that >>>> element and instead generate the name in the same way we do for EJB >>>> 3.0. Is this by design or an issue? >>>> >>> >>> This should be supported. The code to convert those elements to the >>> new ones are there: >>> >>> OpenEjb2Conversion.java: >>> >>> for (String name : enterpriseBean.getLocalJndiName()) { >>> deployment.getJndi().add(new >>> org.apache.openejb.jee.oejb3.Jndi(name, "LocalHome")); >>> } >>> >>> for (String name : enterpriseBean.getJndiName()) { >>> deployment.getJndi().add(new >>> org.apache.openejb.jee.oejb3.Jndi(name, "RemoteHome")); >>> } >>> >>> >>> Have you been able to verify that they don't work? >>> >>> -David >>> >>> >> > >