Tomcat is also a web server in addition to a servlet container. No Apache is required unless you need some of the features that Apache provides that Tomcat does not.
Yes Bear you are right and I agree with you fully. But using Apache/Tomcat together is supposedly more reliable and considered a good J2EE practice. Actually I was asked this question at an interview and I did not know the answer.
Originally posted by ashishk kumar: But using Apache/Tomcat together is supposedly more reliable and considered a good J2EE practice. ... Can you please throw some light on this issue ?
This has not been true for quite some time.
With regards to the question: there is a connector that can be configured to allow Apache to hand off active requests to Tomcat. It's a pain in the patootie to set up and maintain.
And since there is no longer a reason to front Tomcat with Apache unless you have to, few people bother. I don't.
ashishk kumar
Greenhorn
Joined: Jan 29, 2008
Posts: 13
posted
0
Thanks Bear, that should suffice the argument. Cheers, Ashish