One reason for placing Apache in front of Tomcat will be to balance the load.
Requests go to the front of the Apache server and propagate to Tomcat server containers depending on load and availability.
Clients know only one IP (Apache), but requests are distributed across several containers.
So this happens when you deploy a kind of distributed web application, and you need it. If your question is about a simple web application, then see dbyrne's answer
Cratylus Feb 25 '11 at 20:50 2011-02-25 20:50
source share