Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Tomcat and Apache

 
Sahil Reddy
Ranch Hand
Posts: 145
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Query:-

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
Sahil
 
Chris Baron
Ranch Hand
Posts: 1061
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 145
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you :-) got it !!!
 
Harikrishna Gorrepati
Ranch Hand
Posts: 423
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, Please let me know if Apache Web Server means Apache Http Server.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!