From commits-return-3999-apmail-openejb-commits-archive=openejb.apache.org@openejb.apache.org Wed Sep 26 23:43:13 2007 Return-Path: Delivered-To: apmail-openejb-commits-archive@www.apache.org Received: (qmail 80761 invoked from network); 26 Sep 2007 23:43:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Sep 2007 23:43:13 -0000 Received: (qmail 30935 invoked by uid 500); 26 Sep 2007 23:43:04 -0000 Delivered-To: apmail-openejb-commits-archive@openejb.apache.org Received: (qmail 30879 invoked by uid 500); 26 Sep 2007 23:43:03 -0000 Mailing-List: contact commits-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 commits@openejb.apache.org Received: (qmail 30870 invoked by uid 99); 26 Sep 2007 23:43:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Sep 2007 16:43:03 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Sep 2007 23:45:30 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C3E5571403E for ; Wed, 26 Sep 2007 16:42:50 -0700 (PDT) Message-ID: <4679715.1190850170800.JavaMail.jira@brutus> Date: Wed, 26 Sep 2007 16:42:50 -0700 (PDT) From: "David Blevins (JIRA)" To: commits@openejb.apache.org Subject: [jira] Updated: (OPENEJB-253) Per EJB or EJB Interface JNDI Name declaration MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/OPENEJB-253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Blevins updated OPENEJB-253: ---------------------------------- Fix Version/s: (was: 3.0-beta-1) 3.0.x Summary: Per EJB or EJB Interface JNDI Name declaration (was: We need to make the client be able to explicitly define the JNDI names of different interfaces provided the EJB) > Per EJB or EJB Interface JNDI Name declaration > ---------------------------------------------- > > Key: OPENEJB-253 > URL: https://issues.apache.org/jira/browse/OPENEJB-253 > Project: OpenEJB > Issue Type: New Feature > Components: ejb3 simplified > Affects Versions: 3.0-beta-1 > Reporter: Mohammad Nour > Fix For: 3.0.x > > > 1- The current implementation of OEJB prefixes the JNDI names of local Home interface of an EJB by the word *Local*, that is the client would not expect to use when he\she tries to look up the bean. > 2- When and EJB3.0 bean supports the backward compatible 2.1 Home interface and business interface, there is no way to specify separate JNDI names to each interface. > We should make the client being able to do this. One way is to make changes to the openejb-jar.xml schema to add new elements and attributes to give the client this ability, an example of an *ejb-deplyment* is as follows: > > > jndi-name="client/tests/stateless/BasicStatelessHomeInterface" > interface-name="ejb3.beans.interfaces.BeanLocalHomeInterface" /> > > jndi-name="client/tests/stateless/BasicStatelessBizInterface" > interface-name="ejb3.beans.interfaces.BeanLocalBizInterface" isRemote="false" /> > > > Comments will be added as soon as we agree upon how to tackle this problem. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.