[Yanel-dev] deployment

basZero baszero at gmail.com
Wed Jan 18 10:19:15 CET 2012


Hi Simon,

in larger enterprise setups there is always a web server in front of the
application server (tomcat, glassfish, etc.).
there are many advantages for having a web server in front of the app
server:
- 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.
- 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
- 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
- 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")

downside of it is:
- you have more infrastructure to maintain
- more complex monitoring setup
- more expensive
- more complex support demand (if something goes wrong, you have to analyze
more)

cheers
balz



On Wed, Jan 18, 2012 at 10:10 AM, simon <simon at 333.ch> wrote:

> hi all
>
> just wondering why yanel resp. tomcat is mostly deployed behind an apache?
> what's the reason and does someone has experience in using the tomcat
> without an apache web server in front?
>
> cheers
> simon
> --
> Yanel-development mailing list Yanel-development at wyona.com
> http://lists.wyona.org/cgi-**bin/mailman/listinfo/yanel-**development<http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wyona.org/pipermail/yanel-development/attachments/20120118/a8210139/attachment.html>


More information about the Yanel-development mailing list