Pablo, Apache is recognized as a pretty high performance web server. Its designed to serve static content very fast and efficiently. Most jsp/servlet containers cannot match apache's performance in serving static content. Therefore, it is advantageous for environments that demand higher performance to use both apache and the container together. This gives you sort of a best of both worlds environment. Also, don't mix your containers: Tomcat is a jsp/servlet container, JBoss is an EJB container. Very different. However, using this strategy you could get a very high performance J2EE environment by combining free elements: apache + tomcat + jboss.
Branden Root Web Developer Portent Interactive [EMAIL PROTECTED] -----Original Message----- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Pablo Bryan Sent: Thursday, September 12, 2002 12:37 PM To: [EMAIL PROTECTED] Subject: Web Server / JSP-Servlet Container (newbie) Can someone tell me why in a production application I would need to have a web server (Apache, Jetty, etc) with an App Server (JBoss, Tomcat, etc) ? Let's say I have an app with servlets and JSP and static HTML. Would I need Tomcat and Apache or can it work just with apache? Remember I need it to be production quality. When would I need to combine apache and tomcat? or jetty and jboss? Thanks, Pablo To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com