• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

LocalHome

 
parra matta
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

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.

Parra Matta.
 
parra matta
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
After I bundled the ejb jar and war into an ear file, the lookup of the Localhome worked.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic