File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
EJB and other Java EE Technologies
Can I make one single EJB to both Remote and localEJB with same JNDI name
Joined: Feb 07, 2002
Nov 10, 2002 23:36:00
can anyone tell me
can v make a an same
as both remote and local with same jndi name
if yes can u please let me know
Thanks in Advance
Sun Certified Java2 Programmer
Joined: Oct 01, 2001
Nov 11, 2002 10:02:00
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:
subject: Can I make one single EJB to both Remote and localEJB with same JNDI name
JNDI lookup of local and remote home interfaces
Lookup problem with local bean
EJB3 - dependency injection fails?
JNDI and EJB
About JNDI Names
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014