File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
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: 2864
    
  11

No. You can make both local and remote interfaces for the same EJB, but they have to have different JNDI names.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can I make one single EJB to both Remote and localEJB with same JNDI name