File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes BEA/Weblogic and the fly likes how 2 call ejb file using servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "how 2 call ejb file using servlet" Watch "how 2 call ejb file using servlet" New topic
Author

how 2 call ejb file using servlet

kapil,mehta
Greenhorn

Joined: Mar 02, 2001
Posts: 1
how 2 call ejb file& servlet ie servlet& ejb communication
George Brown
Ranch Hand

Joined: Sep 26, 2000
Posts: 919
The servlet would need to use the JNDI to get a reference to the EJB (let's call it EJB A) in the same way that another EJB (let's call that EJB B) would need to use the JNDI to get a reference to EJB A.
If you have WebLogic installed you should have lots of examples of a client connecting to an EJB in the subdirectories of ${WEBLOGIC_INSTALL_DIRECTORY}/examples/ejb
HTH
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how 2 call ejb file using servlet