Hi,

I'm currently evaluating OpenEJB 3.1.4 and have a question concerning JNDI 
names.

I have an EJB module that I want to assemble in an EAR file. I cannot change the EJB module for non-technical reasons. Does OpenEJB allow me to change the EJB's JNDI name without touching the EJB?

My preferred way would be usage of an alternative deployment descriptor by setting the element 'alt-dd' in the application.xml file. I could then use 'mapped-name' to set the JNDI name. But it seems that OpenEJB ignores the alt-dd element.

I found out that the default JNDI name can be set by configuration ('openejb.jndiname.format'), too. I'd like to avoid this option since the JNDI name would then depend on the container configuration.

I've read the following pages but didn't find a solution:

  http://openejb.apache.org/3.0/alternate-descriptors.html
  http://openejb.apache.org/3.0/jndi-names.html

Any hint is appreciated.

Christian Koppen

Reply via email to