File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Professional Apache Tomcat 6 - support for EJBs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Professional Apache Tomcat 6 - support for EJBs" Watch "Professional Apache Tomcat 6 - support for EJBs" New topic
Author

Professional Apache Tomcat 6 - support for EJBs

Raghavan Muthu
Ranch Hand

Joined: Apr 20, 2006
Posts: 3344

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?


Everything has got its own deadline including one's EGO!
[CodeBarn] [Java Concepts-easily] [Corey's articles] [SCJP-SUN] [Servlet Examples] [Java Beginners FAQ] [Sun-Java Tutorials] [Java Coding Guidelines]
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42276
    
  64
Tomcat was and is a servlet container and web server. As such it does not support EJB (although you can plug OpenEJB into it).


Ping & DNS - my free Android networking tools app
Raghavan Muthu
Ranch Hand

Joined: Apr 20, 2006
Posts: 3344

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

Joined: Sep 06, 2007
Posts: 14
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

Joined: Apr 20, 2006
Posts: 3344

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

Joined: Feb 27, 2006
Posts: 16
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

Joined: Apr 20, 2006
Posts: 3344

Thank you for the information, Dario Laverde.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Professional Apache Tomcat 6 - support for EJBs