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 Java 8 in Action this week in the Java 8 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: 2771
    
  10

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
 
Similar Threads
About JNDI Names
JNDI lookup of local and remote home interfaces
Lookup problem with local bean
JNDI and EJB
EJB3 - dependency injection fails?