Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JNDI naming changes  RSS feed

 
Rajitha Gunawardhane
Ranch Hand
Posts: 43
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I want to know is it possible to change JNDI name for a ejb as follow,

if EJB in abc-common.jar jndi name will be as follow

        java:global/abc-ear/abc-common-ejb/xxx
java:app/abc-common-ejb/xxx
java:module/xxx
java:global/abc-ear/abc-common-ejb/xxx
java:app/abc-common-ejb/xxx
java:module/xxx

if EJBs in abc-main.jar then name will be

        java:global/abc-ear/abc-main-ejb/xxx
java:app/abc-main-ejb/xxx
java:module/xxx
java:global/abc-ear/abc-main-ejb/xxx
java:app/abc-main-ejb/xxx
java:module/xxx

Question: I wanted to know, is it possible to change jndi name of abc-common.jar to look like abc-main.jar


  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!