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
posted
0
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
posted
0
thinks. the answer is great. let me understand with apache and tomcat different.