[thelist] Tomcat versus Apache _and_ Tomcat

Hassan Schroeder hassan at webtuitive.com
Mon Nov 3 12:01:42 CST 2003


Steve Jenkins wrote:

> Anyone know why one should deploy a live production server with 
 > Apache and Tomcat as opposed to with just Tomcat?

1) you need a capability provided by an Apache module and don't
    want to re-create that wheel in Java

2) familiarity with Apache configuration (SSL, authentication, etc.)

3) performance of non-servlet/jsp assets, like images

This latter sounds like "conventional wisdom" that may or may not be
true. If you look at org.apache.catalina.servlets.DefaultServlet, it
*is* kind of a kitchen-sink handler, but in casual testing I didn't
see much difference between Apache-served and Tomcat-served images.

If your testing showed otherwise, it wouldn't be hard to add your
own optimized image-handling servlet, though. Actually, google, or
ask on the Tomcat list; someone may have already done it :-)

HTH!
-- 
Hassan Schroeder ----------------------------- hassan at webtuitive.com
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

                           dream.  code.





More information about the thelist mailing list