mod_proxy_ajp
is an Apache module which can be used to forward a client HTTP request to an internal Tomcat application server using the AJP protocol.
To respond to the question "Why should I use mod_proxy_ajp rather than a classic mod_proxy ?", here is a small recap:
- You can gain a lot of flexibility (lot of the apache modules/features can be used especially "name-based virtual hosting")
- Practical for those who need to support Java applications along with PHP / Perl … (only one apache server is needed)
- Certificates management is easier in apache configuration (this argument is a lot subjective)
- It's not Tomcat's main objective to serve http static resources (not optimized for that)
- Load balancing/cluster management is easier with an apache frontend
No comments:
Post a Comment