aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Can I make one single EJB to both Remote and localEJB with same JNDI name Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Can I make one single EJB to both Remote and localEJB with same JNDI name" Watch "Can I make one single EJB to both Remote and localEJB with same JNDI name" New topic
Author

Can I make one single EJB to both Remote and localEJB with same JNDI name

ravi inguva
Ranch Hand

Joined: Feb 07, 2002
Posts: 34
can anyone tell me
can v make a an same EJB as both remote and local with same jndi name
if yes can u please let me know
Thanks in Advance


Sun Certified Java2 Programmer
Greg Charles
Sheriff

Joined: Oct 01, 2001
Posts: 2854
    
  11

No. You can make both local and remote interfaces for the same EJB, but they have to have different JNDI names.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Can I make one single EJB to both Remote and localEJB with same JNDI name