Hi Simon,<div><br></div><div>in larger enterprise setups there is always a web server in front of the application server (tomcat, glassfish, etc.).</div><div>there are many advantages for having a web server in front of the app server:</div>
<div>- you can scale better (with plugins like mod_jk or alike you can distribute the load over N application servers. Of course, the plugin must support session stickyness, so that request with the same session cookie gets forwarded to the same app server.</div>
<div>- you can serve static content from the web server. this way you have much less "noise" on the app server. Of course: web server must have access to the content, so the deployment model might look different, if web and appserver are on physically different machines</div>
<div>- you can easily switch to a static maintenance page: you configure the web server to show a certain page. during this time, you can modify the app servers in the back end. if done, you can go back to the normal configuration where requests are routed to the app servers</div>
<div>- for highly secure applications, it's probably a must to introduce a web server, as you can much better protect your app server from unwanted requests (see for instance "perimeter authentication")</div>
<div><br></div><div>downside of it is:</div><div>- you have more infrastructure to maintain</div><div>- more complex monitoring setup</div><div>- more expensive</div><div>- more complex support demand (if something goes wrong, you have to analyze more)</div>
<div><br></div><div>cheers</div><div>balz</div><div><br></div><div><br></div><div><br><div title="signature"> </div><div class="gmail_quote">On Wed, Jan 18, 2012 at 10:10 AM, simon <span dir="ltr"><<a href="mailto:simon@333.ch">simon@333.ch</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">hi all<br>
<br>
just wondering why yanel resp. tomcat is mostly deployed behind an apache?<br>
what's the reason and does someone has experience in using the tomcat without an apache web server in front?<br>
<br>
cheers<span class="HOEnZb"><font color="#888888"><br>
simon<br>
-- <br>
Yanel-development mailing list <a href="mailto:Yanel-development@wyona.com" target="_blank">Yanel-development@wyona.com</a><br>
<a href="http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development" target="_blank">http://lists.wyona.org/cgi-<u></u>bin/mailman/listinfo/yanel-<u></u>development</a><br>
</font></span></blockquote></div><br></div>