Get your CodeRanch badge!*
The moose likes EJB and other Java EE Technologies and the fly likes EJB + Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB + Tomcat" Watch "EJB + Tomcat" New topic
Author

EJB + Tomcat

Niall Loughnane
Ranch Hand

Joined: Dec 07, 2006
Posts: 203
Hi,

Does Tomcat support EJBs and if not what can be used for deploying EJBs on Tomcat?

Thanks,

Niall
Felipe Reyes
Greenhorn

Joined: Jan 07, 2004
Posts: 14
Tomcat is only a web container, not a full J2EE server, so it don't support EJB's deployments, you can use Tomcat + JBoss.
Niall Loughnane
Ranch Hand

Joined: Dec 07, 2006
Posts: 203
can we use Tomcat for deploying a web application AND get this web application to talk to an EJB application that is deployed to JBoss?

Do you know of any tutorials, examples etc. on how to do this?

Thanks

Niall
Felipe Reyes
Greenhorn

Joined: Jan 07, 2004
Posts: 14
The easy way to do this is to use the JBoss distribution that already contains a Tomcat Web Container, you can find it at:

http://labs.jboss.com/portal/jbossas/download
Dario Laverde
Greenhorn

Joined: Feb 27, 2006
Posts: 16
Another way to use EJBs in Tomcat is to use OpenEJB, in fact you can deploy OpenEJB with your EJBs without having to have a separate standalone EJB container. http://openejb.org

-Dario
David Blevins
Greenhorn

Joined: May 03, 2010
Posts: 18
Thanks for the OpenEJB mentions in this thread. The stack formerly known as "OpenEJB/Tomcat" morphed into Apache TomEE which is a Java EE 6 certified version of Tomcat. We're pretty excited to give Tomcat users the option to use Java EE features without having to leave Tomcat.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EJB + Tomcat
 
Similar Threads
tomcat/ejb
EJBs on Tomcat
Can tomcat be used for ejb's?
Using EJB deployed in WebLogic in a servlet which runs in Tomcat
Tomcat for EJB 3.1 Specifications