Can we execute EJB's in Tomcat, cause one of my friend (working) is saying that ,they r doing a project in Tomcat in which they r using EJB's.Is this possible.IF yes How?
Can we execute EJB's in Tomcat, cause one of my friend (working) is saying that ,they r doing a project in Tomcat in which they r using EJB's.Is this possible.IF yes How?
No. We can't deploy ejb applications in Tomcat. It is a web server. it doesn't support ejb's.
But, in some projects we use both web logic and tomcat . We deploy the web applications in tomcat and ejb applications in weblogic.
I don't have clear idea on it.
As per my knowledge, we can't deploy the Ejb's in Tomcat bcz it is webserver. If it is possible, please inform.
Yes. you are right.
We can't deploy ejb's in tomcat as it is a web server.
I got that Tomcat is web server ,we cannot deploy Ejb's in that.Suppose if in some proj both weblogic and tomcat is using.ejb's in weblogic,webcontainer in tomcat.and they r following struts frame work.My que is how can they access
ejb's in action class's execute method(to get data from database).
wht r the mechanisms to do tht?
plzzzzzzzzzzz help meeeeeeeeeeeeeeeeeee
To run the web application that uses EJB running on weblogic server.
1) copy weblogic.jar under tomcat/shared/lib
2)copy the req. classes (Bussiness Deligate, RHI,RBI etc..)under WEB-INF/classes
3)copy jndi.properties under current directory.
Thanks & Regards,
Hema
Should we make any changes to the context.xml in Tomcat to invoke the ejb's in Weblogic? If yes, could someone send me a sample config file. I am having trouble doing the config for the integration.
Thanks
Venkat
There are currently 1 users browsing this thread. (0 members and 1 guests)