I've a question entity bean localhome. The application servier I am using is Weblogic 8.1 SP2.
I created a entity bean with both home and localhome interfaces and packaged them into a jar file. The deployment was sucessful.
Then I created a servlet, packaged it into a war file and deployed to the same weblogic server.
However the servlet worked only when I looked up the entity bean home but not the localhome. I thought the localhome should work because the ejb jar and war files were deployed to the same weblogic server. I did not try to package the jar and war files into an ear file. Not sure whether it will work in that way.
Can someone shed me a light on this issue?
Many thanks in advance.
posted 11 years ago
After I bundled the ejb jar and war into an ear file, the lookup of the Localhome worked.