File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Tomcat, Apache and App Sever? 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 » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Tomcat, Apache and App Sever?" Watch "Tomcat, Apache and App Sever?" New topic

Tomcat, Apache and App Sever?

Kitty Dayal
Ranch Hand

Joined: Jul 22, 2004
Posts: 89
Hi all,

Can anybody tell me the difference between Tomcat(Servlet/JSP engine), Apache (a web server) and an application server(Websphere, JBoss). Which one to use, when and why?. Why do you need apache if tomcat can do the stuff for you. Also does tomcat 5.0 come with an webserver(apache) built-in?.

Also if u could point to any article u know of which is good with these basics, that would be great.

marco borsato
Ranch Hand

Joined: Aug 30, 2004
Posts: 55
I can help you with short definitions:

Apache: all purpose open source web server written in C
Tomcat: open source web server written in Java. Mostly used for small projects.
Websphere: This is the application server from IBM for large projects, like banking applications
JBoss: Open source application server

Basically a web server is meant for the web and an application server for ehm applications. Tomcat can be used as standalone web server, but if you want better security you should link it with Apache.
I agree. Here's the link:
subject: Tomcat, Apache and App Sever?
jQuery in Action, 3rd edition