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,