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 and Apache Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Tomcat and Apache" Watch "Tomcat and Apache" New topic

Tomcat and Apache

Sahil Reddy
Ranch Hand

Joined: Jan 24, 2011
Posts: 145
I have started reading Head First Servlets and JSP.

I got to know the following

APACE := Web Server

TOMCAT := Container which does housekeeping for the Servlets and communicates with the Web server.


1. Do i need to install APACHE and TOMCAT independently, and if yes ,does order of installation matters i.e Install APACHE first and then TOMCAT and vice -versa
2. Can i use TOMCAT with another web server , i mean other than APACHE.

Thanks and Regards
Chris Baron
Ranch Hand

Joined: Mar 21, 2003
Posts: 1049
Hi Sahil,
Apache is a web server for static web sites while Apache Tomcat is a web server and a servlet container that implements the Java Servlet and the JavaServer Pages (JSP) specifications.
All you need for the book is a Tomcat.

Sahil Reddy
Ranch Hand

Joined: Jan 24, 2011
Posts: 145
Thank you :-) got it !!!
Harikrishna Gorrepati
Ranch Hand

Joined: Sep 23, 2010
Posts: 422
Hi, Please let me know if Apache Web Server means Apache Http Server.

OCPJP 6.0-81% | Preparing for OCWCD | |
It is sorta covered in the JavaRanch Style Guide.
subject: Tomcat and Apache