This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes EJB 2.1 local reference lookup 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 "EJB 2.1 local reference lookup" Watch "EJB 2.1 local reference lookup" New topic
Author

EJB 2.1 local reference lookup

Ankit Thakkar
Ranch Hand

Joined: Apr 29, 2005
Posts: 33

Hi All,
I am trying to lookup local EJB reference in Websphere.

I was trying to lookup using JNDI i.e. /ejb/testEJB and it always returned remote EJB reference. I came to know that using jndi local:ejb/ejb/testEJB, local EJB reference can be looked up. I tried and it's working in websphere.

However, I am still not able to identify difference between java:comp/env/, local:ejb/ and normal JNDI (without any prefix). Which one should be used? Can anyone please help me, share some links or thoughts on the same?

Thanks,


- Ankit
Ankit Thakkar
Ranch Hand

Joined: Apr 29, 2005
Posts: 33

Hi All,
Can anyone please help me, provide thoughts or share some useful links? I am stuck up to decide which approach should I opt to lookup EJB.

Thanks,
Ankit
 
GeeCON Prague 2014
 
subject: EJB 2.1 local reference lookup