JBoss Community

Re: Moving from 4.2.2 to AS 7

created by Wolf-Dieter Fink in JNDI and Naming - View the full discussion

Hello Richard,

 

yes, the JNDI names must be changed.

If you run in the same module of the application you can use

  java:modul/Account.....

if you are 'only' in the same EAR but in a different module you need to use

  java:app/appEar-1.0-SNAPSHOT/.....

To make it more easy I recommend to define a module name in the DS to get rid of the version, also you can rename the ear/jar

 

If you are using XDoclet to generate the interfaces you might change the XDoclet *.xdt templates to be able to use AS7 and earlier with the same applicaiton.

Reply to this message by going to Community

Start a new discussion in JNDI and Naming at Community