aspose file tools*
The moose likes Servlets and the fly likes Calling EJB from Servlet in a different container Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Calling EJB from Servlet in a different container" Watch "Calling EJB from Servlet in a different container" New topic
Author

Calling EJB from Servlet in a different container

clifford dias
Greenhorn

Joined: Apr 21, 2005
Posts: 4
Hi,
I've got a Servlet deployed in a Sun One 6.1 webserver. I've also got an EJB deployed in a Weblogic 7 server.

The servlet has the weblogic.jar in the WEB-INF lib folder. The EJB home interface is also in the WEB-INF lib folder.

When I call the servlet, I get the error EJBObject not found.

Does any one know if this is the right way to call the Bean ?

regards,
Cliff
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

3 forums down from this one is an EJB forum.
You might get better help there.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Conversation has move to:
http://www.coderanch.com/t/316202/EJB-JEE/java/calling-EJB-app-server-servlet
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17259
    
    6

Originally posted by Ben Souther:
Conversation has move to:
http://www.coderanch.com/t/316202/EJB-JEE/java/calling-EJB-app-server-servlet


In that case, I will close this thread.

Thanks

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Calling EJB from Servlet in a different container