• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB + Tomcat

 
Niall Loughnane
Ranch Hand
Posts: 209
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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

Thanks,

Niall
 
Felipe Reyes
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 209
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic