This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Please can anybody tell me the difference b/w Apache and Tomcat. Can I use Tomcat as my Web Server?If yes, then why do we need Apache anyway? How do we configure Apache to use with Tomcat? Waiting in anticipation. Syed
Yes, Tomcat works as a stand-alone web server. The difference is that Apache is a full fledge web server. Tomcat simply provides support for JSP, Servlets and serving up static content. If you are only developing JSP/Servlets there is no reason you shouldn't just stick with Tomcat. On the other hand if you want support for other stuff like PHP or Python, Tomcat shows you no love. By configuring Apache as you main server you can simply add in the modules for anything it supports. Some also argue about Apache serving up static content faster. The validity of this statement is questionable, but you should test yourself if it is of interest. If you would like help configuring Apache/Tomcat check out the Jakarta Tomcat-User listserv. The question is asked all the time and you can find lots of help. Jayson Falkner V.P./CTO, Amberjack Software LLC Jayson@jspinsider.com www.jspinsider.com [This message has been edited by Jayson Falkner (edited May 08, 2001).]
Jayson Falkner<br />email@example.com<br />Author of <a href="http://www.jspbook.com" target="_blank" rel="nofollow">Servlets and JavaServer Pages; the J2EE Web Tier</a>