From: Matthew B. <mat...@ou...> - 2006-10-02 16:01:47
|
Sean Mehan wrote: > Uhmm, why reinvent the wheel? Mod_proxy for Apache, in front of your > tomcat? Performance and Transparency. AJP provides a binary connection between your Web Server and your Servlet Container so that you don't end up fully parsing the request twice. It also passed extra info across to the servlet container (URL, SSL stuff) which can get lost when proxying (request.isSecure()). Finally it has persistent connections between the web server and the servlet container so that you don't make a new TCP connection per request. -- -- Matthew Buckett, VLE Developer -- Learning Technologies Group, Oxford University Computing Services -- Tel: +44 (0)1865 283660 http://www.oucs.ox.ac.uk/ltg/ |