This content has been marked as final.
Show 1 reply
-
1. Re: same local and remote jndi names
jonlee Sep 9, 2003 3:28 AM (in response to mukoline)No they are not interchangeable because the interfaces are different. The LocalHome interface is different to the Home interface so the class cast is different for the remote and local lookups. Similarly, the local and local home interfaces manufacture different interfaces to the EJB (remote and local).
So you cannot bind two different references to the JNDI name.
All in all, you explicitly operate with a different set of interfaces.