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.
I would like to clarify onething. I have deployed one LOcalejb in the weblogic server as separate JAR file. And i am trying to lookup that localbean from a servlet which is deployed as a separate WAR file in the server. And its not able to lookup that. Can anyone tell why is like that. I know that if u want to lookup a local bean, it should be in the same JVM. But my doubt is these WAR & JAR are handled bt separate JVM or what?? If that is the case i think if we are making an EAR file of WAR+JAR, will it work??? Or if anyone knows any better idea please help me out in solving that problem. Regards George
Dear Chris, Could you explain further? Having both war and jar (the ejb jar) in an ear would mean executing them both in the same jvm as for as the Application server is concern, so does that means looking up local references is possible? Say, for example if i had a ejb-jar file. Make a vendor specific ejb-jar file as well. In the vendor specific ejb-jar file there is a way to specified the jndi lookup nane for that ejb-jar file. Is that the jndi name to lookup a remote or local? Does Websphere specified 2 kinds of jndi name to lookup remote and local reference? Cheers Ras