This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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: 2841
    
  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
EJB3 - dependency injection fails?
About JNDI Names
Lookup problem with local bean
JNDI lookup of local and remote home interfaces
JNDI and EJB