This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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.