File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes tomcat j2ee Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "tomcat j2ee" Watch "tomcat j2ee" New topic

tomcat j2ee

feroz muhamed
Ranch Hand

Joined: Nov 15, 2003
Posts: 87
can i use tomcat as EJB server?
B Wiley Snyder
Ranch Hand

Joined: Nov 26, 2003
Posts: 50
I found this post........ Helped me alittle understanding the same question...........

Where does Tomcat fit into J2EE? Thats a fairly open ended question but here goes.
Tomcat is a java based web server that supports both servlets and jsp. J2EE is a framework of java based technologies that includes EJB(destributed components), JMS(asynchronous messaging), JCA(back end conectivity), JDBC(database conectivity)as well as many others. JSP/Servlets are one of those technologies.

Tomcat is usefull for devoloping web applications that use JSP/Servlets. If you need additional J2EE functionality you will probably need an Applicaton Server. Sun produce a reference implementation of a J2EE application server, which you have already downloaded and installed. It is called a reference implementation as it is designed simply for testing J2EE technologies and not as an industry standard product.

As far as reading material goes there is no shortage on the web! Tomcat comes with alot of nice examples of both JSP and Servlet applications. There is a full J2EE step by step tutorial, which you can download from Sun. There should be enough in those two to keep you busy for a while!

Good Luck,

Julian Kennedy
Ranch Hand

Joined: Aug 02, 2004
Posts: 823
So that was a "no" just in case anyone is left wondering.

Tomcat is a servlet/JSP container. You need an EJB container (J2EE app server?) to run EJBs. Popular examples are JBoss, BEA Weblogic, IBM Websphere ... um ... what else? I don't do EJB.

I agree. Here's the link:
subject: tomcat j2ee
jQuery in Action, 3rd edition