This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Although it intuitively seems that an enterprise bean should know another one residing on the same server, it doesn't really hold true. An enterprise bean or for that matter, any server object, is not suppose to know the storage structure/mechanism. That's where JNDI comes in the picture. Even for local objects, there has to be a lookup mechanism as for any server object. So, you couldn't just get away from JNDI.
Joined: Aug 03, 2002
I am not sure about this. Have u tried that, I mean have u experienced that in past.