• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

LocalHome

 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
After I bundled the ejb jar and war into an ear file, the lookup of the Localhome worked.
 
I can't take it! You are too smart for me! Here is the tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic