Does it seem odd to you that Apache Tomcat is a web server ... and yet the majority of sites run with another web server - Apache httpd - in front of it. Why do they do it?
There's a whole host of reasons! They including better logging, load balancing, security, speed of serving static pages such as images, allowing other (non-Java) content to work efficiently on the same domain, more configuration flexibility and so on. I sometimes describe Tomcat as being like an aircraft that will get you from "a" to "b" .... but very few people actually want to go from "a" to "b" - they want to go from somewhere 20 miles from "a" to somewhere 40 miles from "b", so the need something else to complete the journey - a car, or httpd.
So we offer two web server courses - there's
a course that covers Apache httpd alone - the majority of non-Java sites run with that server, and
a course that covers Apache Tomcat, and also some Apache httpd and how the two interface - which suits that majority of Apache Tomcat users. Both courses are two days in duration - the 'pure httpd' one covering Apache httpd in a lot more detail that the combined course, where httpd is more likely to be used as a wrapper rather than a significantly configured workhorse.
(written 2009-03-12 10:46:56)
Associated topics are indexed under
A601 - Web Application Deployment - Apache httpd - an overview [2186] An FAQ on the Apache httpd and Apache Tomcat web servers, and on using them together - (2009-05-17)
[2063] Internal Dummy Connections on Apache httpd - (2009-03-02)
[2054] Tuning httpd / the supermarket checkout comparison - (2009-02-26)
[2038] Sticky Sessions with mod_jk (httpd to Tomcat) - (2009-02-12)
[2016] Apache httpd and Apache Tomcat miscellany - (2009-01-30)
[1897] Keeping on an even keel - (2008-11-21)
[1593] Keep the client experience easy - single server contact point - (2008-03-27)
[1265] Apache, Tomcat, Jakarta, httpd, web server - what are they? - (2007-07-13)
[924] The LAMP Cookbook - Linux, Apache, MySQL, PHP / Perl - (2006-11-13)
[659] Web Application Components - (2006-03-28)
[576] Why run two different web servers - (2006-01-25)
A651 - Web Application Deployment - Tomcat Overview [1941] Server - Service - Engine - Host, Tomcat - (2008-12-14)
[1771] More HowTo diagrams - MySQL, Tomcat and Java - (2008-08-24)
[498] Why is Tomcat called Tomcat? - (2005-11-17)
[49] Business is the predominant user of Tomcat, Perl and Tcl - (2004-09-15)
Some other Articles
Connecting jconsole remotely - the principlesUsing ApacheBench and jconsole to test and monitor TomcatJava - Memory Allocation and garbage collectionA lot has changed - but the memory lingers onWhy put Apache httpd in front of Apache TomcatA New Advert for Well House ManorSupporting Parkinsons and TrainsWeekday or Weekend PHP, Python and Perl classes?Extra PHP ExamplesCopyright, Portability and other nontechnical web site issues