Uploaded image for project: 'OpenEJB'
  1. OpenEJB
  2. OPENEJB-253

Per EJB or EJB Interface JNDI Name declaration

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0-beta-1
    • 3.0-beta-2
    • ejb3 simplified
    • None

    Description

      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:

      <ejb-deployment ejb-name="ExampleStatelessBean" container-id="Default Stateless Container">

      <deployment-id
      jndi-name="client/tests/stateless/BasicStatelessHomeInterface"
      interface-name="ejb3.beans.interfaces.BeanLocalHomeInterface" />

      <deployment-id
      jndi-name="client/tests/stateless/BasicStatelessBizInterface"
      interface-name="ejb3.beans.interfaces.BeanLocalBizInterface" isRemote="false" />

      </ejb-deployment>

      Comments will be added as soon as we agree upon how to tackle this problem.

      Attachments

        Activity

          People

            dblevins David Blevins
            mnour Mohammad Nour El-Din
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: