What are the advantages and disadvantages of using mod_jk
and mod_proxy
for fronting a tomcat instance with apache?
I've been using mod_jk in production for years but I've heard that it's "the old way" of fronting tomcat. Should I consider changing? Would there be any benefits?
If you wish to stay in Apache land, you can also try the newer mod_proxy_ajp, which uses the AJP protocol to communicate with Tomcat instead of plain old HTTP, but which leverages mod_proxy to do the work.
See also:
http://wiki.apache.org/tomcat/FAQ/Connectors
http://confluence.atlassian.com/display/DOC/Running+Confluence+behind+Apache
A pros/cons comparison for those modules exists on http://blog.jboss.org/
mod_proxy
mod_jk