Adding to it, some advantages Of Apache with Tomcat: 1/ Apache is faster & better when serving static content such as images 2/ You get more error handling ability with apache (ie, when tomcat goes down for releases, etc, Apache gets a 500 error and can display a polite notice rather than nasty error pages) 3/ You get all the other stuff that apache does: userdir, modspeling, cgi, ssi etc etc etc 4/ https. i don't know if any certificate signing authorities do certs for java/tomcat (probably) but its very easy for mod_ssl or apache-ssl 5/ you can confuse your colleagues even more with arcane configurations 6/ you can (theoretically) do sticky load balancing with mod_jk across multiple tomcat instances
Regards, Vikramjit Singh, GTL Ltd. Ph. 7612929-1059 > -----Original Message----- > From: Branden Root [mailto:[EMAIL PROTECTED]] > Sent: Thursday, September 12, 2002 12:57 PM > To: [EMAIL PROTECTED] > Subject: Re: Web Server / JSP-Servlet Container (newbie) > > > 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 > =========================================================================== 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
