*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Apache and Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Apache and Tomcat" Watch "Apache and Tomcat" New topic
Author

Apache and Tomcat

Anju sethi
Ranch Hand

Joined: Dec 26, 2005
Posts: 91
can anyone explain me the difference between Apache and tomcat


thanks,<br />Anju Sethi
Kathy Sierra
Cowgirl and Author
Ranch Hand

Joined: Oct 10, 2002
Posts: 1572
Howdy -- Apache is a web server, whose primary responsibility is to respond to HTTP requests (like GET (some file))

But to run servlets/JSPs, you also need a web "container", and that's what Tomcat does. Tomcat supports servlets and JSPs, and is also a very weak web server, but for the real world, you would normally configure Tomcat into the Apache web server as a "plug in". Then the powerful Apache web server accepts the HTTP requests, while using Tomcat to deal with the servlets/JSPs.

So...

Apache alone -- powerful HTTP web server

Tomcat alone -- web container, with a very limited HTTP web server

Apache with Tomcat -- a powerful web server that supports servlets and JSPs

Cheers,
Kathy
shih mao su
Greenhorn

Joined: Oct 25, 2004
Posts: 4
thinks. the answer is great.
let me understand with apache and tomcat different.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Apache and Tomcat
 
Similar Threads
Http port
Apache tomcat and Jakarta tomcat
Apache+Tomcat
doubt in EL
Problem changing jsp property