This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 2833
    
  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
 
Similar Threads
About JNDI Names
EJB3 - dependency injection fails?
JNDI lookup of local and remote home interfaces
JNDI and EJB
Lookup problem with local bean