Sometimes hosts will front Tomcat with Apache if they need something from Apache that Tomcat doesn't support (php, for example). But otherwise, stand-alone Tomcat works just fine.
Vadim Vararu wrote:Isn't Apache tomcat a combination of both of them? I thought that we can't use tomcat by himself without apache. As well, as i know, apache receive requests, push them to tomcat container that generates the content and push it back to apache....
Apache Tomcat is a servlet container developed by the Apache Software Foundation (ASF). Tomcat implements the Java Servlet and the JavaServer Pages (JSP) specifications from Sun Microsystems, and provides a "pure Java" HTTP web server environment for Java code to run.
Tomcat should not be confused with the Apache web server, which is a C implementation of an HTTP web server; these two web servers are not bundled together. Apache Tomcat includes tools for configuration and management, but can also be configured by editing XML configuration files.
praveen kumar Singh wrote:Tomcat is a standalone container(always call tomcat a container not server)
Now actually tomcat is used with Apache to handle J2EE(non-EJB) applications HTTP request since together they are more robust to handle HTTP request.
what i wanted to convey is people prefer to call it container, so call it container not server
Now about Robustness, if you read Head First Jsp servlet(2nd edition), on page 65, writer clearly mention only reason we use Apache and Tomcat together it is because of robustness issue.