As I know Apache Tomcat 5.0.28 is a application server which is built in Web server. So could you tell me the version of Apache web server is built in Apache Tomcat ? I wonder if I have to install Apache web server or not (after I installed Apache Tomcat 5.0.28 Thanks so much for your help
Apache Tomcat is a web server and servlet container (written in Java), while Apache HTTPD is a web server (written in C). The Tomcat download does not include the Apache HTTPD web server, which is what most people refer to when they say "Apache". (The fact that both are developed under the umbrella of the Apache organization might be confusing you.)
Duong Hanh Nguyen
Joined: Dec 07, 2005
Thanks so much for your answer, Ulf Dittmer However if I use Apache Tomcat for development environment then how about the deployment environment ? Are there any differences between them ?
There are many differences between the Apache web server and Tomcat. Apache by itself cant run servlets and JSP for one thing. There is no reason not to deploy your application on Tomcat - UNLESS - you have to deploy to a site already running Apache. Configuring Apache to refer servlet and JSP requests to Tomcat can be a real pain in the neck. Bill
To add to Bills comment: Depending on the percentage of static to dynamic resources on your site, the extra overhead of passing requests/responses back and forth from httpd to Tomcat may actually be less efficient than just running Tomcat as a standalone.
Try running Tomcat as a standalone server. If you have performance issues, weigh all of your options for improving the situation. Using a separate webserver is only one of them.