hi dudes... i have to designed a help desk web application on jsp and linux...i want to know which one, apache or tomcat will be a better choice...i am in a big confusion as to what will be the better choice...if any one can tell me how to differentiate b/w both of the servers...thanks
Apache is a web server. Apache Tomcat is a Servlet Container, that is also capable of acting as a web server. Many folks will integrate the two, in order to take advantage of Apache's security, management and performance features as a web server, using it to serve static content, while using Apache Tomcat to handle the dynamic content requests. Note that Servlets and JSPs cannot be deployed to the Apache web server. For that you need a Servlet container like Apache Tomcat or Resin. Clearer? http://apache.org http://jakarta.apache.org/tomcat
If the traffic is not going to be huge, and you don't need any of the Apache specialized modules such as PHP, Tomcat will do just fine and the whole thing will be simpler to get running and to manage by far. What kind of simultaneous users count are you expecting to handle? Bill
well i am not sure about the number of users but its a complete help desk application that will be useful for the engineers of our client's company as well as for partners and customers...ok we can assume it as a large area...the thing is will there be any sort of performance problem in future if we use only tomcat...if you can list advantages of using both tomcat and apache ..it will be great..
Author and all-around good cowpoke
Joined: Mar 22, 2000
Back when I was paying attention to the Tomcat mailing list, there were posts by people running pretty big sites - one example was a newspaper's entire site. How much of the total content will be static - images, and plain pages - and how much will be generated on the fly by servlets and JSP? Bill
Good explantion . Even though its a pretty older post. I would like to add further .
Always from a server architecture point of view its better to have an Apache Server handling all the HTTP requests and route it to Apache Tomcat server to handle dynamic pages like servlets and JSP's. I have worked with such integration on projects.
Both are from Apache Open source community and complement each other well.
For the curious and more inquisitive readers please refer an excellent article - http://www.it.uom.gr/teaching/applicationsIT_1/lectures/apache/sld016.htm