Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Professional Apache Tomcat 6 - support for EJBs

 
Raghavan Muthu
Ranch Hand
Posts: 3381
Mac MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Heard that Tomcat does have some support for Component Development and to certain extent. Is that true?

If so, how about Tomcat 6? does it support fullfledged components?
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tomcat was and is a servlet container and web server. As such it does not support EJB (although you can plug OpenEJB into it).
 
Raghavan Muthu
Ranch Hand
Posts: 3381
Mac MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Ulf. That's what i am aware of. But Tomcat does not have any inbuilt support. Isn't it?
 
Jeff Genender
author
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tomcat is essentially just a web container. With that said, there are 3rd party components you can add to extend it. For example you can add Apache OpenEJB to allow it to use EJBs.

If you are looking for a richer experience with Tomcat and want to bolt on a few other components, like EJB, JMS, etc, I suggest you have a look at Apache Geronimo which allows you to build your own stack.
 
Raghavan Muthu
Ranch Hand
Posts: 3381
Mac MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Jeff Genender:
Tomcat is essentially just a web container. With that said, there are 3rd party components you can add to extend it. For example you can add Apache OpenEJB to allow it to use EJBs.

If you are looking for a richer experience with Tomcat and want to bolt on a few other components, like EJB, JMS, etc, I suggest you have a look at Apache Geronimo which allows you to build your own stack.


Thank you Jeff.
 
Dario Laverde
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually Tomcat 6 includes the annotations-api.jar which has the annotation support for EJBs - however it's currently out of spec but a bug report /fix has already been filed against it.

-Dario
 
Raghavan Muthu
Ranch Hand
Posts: 3381
Mac MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for the information, Dario Laverde.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic