Which one of these two is most commonly used scenario? I want to use the same scenario in my learning process. thanks.
views:
33answers:
1
+4
A:
Don't know about the rest of the industry, but where I work we have Apache HTTPD front-ending for Tomcat.
Any static content is directly provided by HTTPD for performance. Pain in the neck to separate every app out, but there is a noticeable payoff.
Also, HTTPD has some nice code for cookie handling, URL rewriting, clustering and so on.
Only if we determine that there's dynamic, database-bound data to show do we forward to Tomcat, which does an admirable job there.
Has been working well for us for almost a decade. Others too, I would wager.
Carl Smotricz
2010-07-11 14:22:30
This is how we do it at my company too.
Bill the Lizard
2010-07-11 14:25:12