IMPORTANT NOTE: The JK 2 connector is now deprecated. Use
JK or
mod_proxy_ajp instead.
The JK 2 Connector is a web server component used to
invisibly integrate Tomcat
with a web server such as Apache or IIS.
Communication between the web server and Tomcat is via the JK
protocol (also known as the AJP
protocol).
Tomact is usually integrated with a web server in cases where you want
the web server to handle the static content contained in the web application,
and/or utilize the web server's SSL processing. In many application
environments, this will result in better overall performance than running
your applications under Tomcat stand-alone using the
Coyote HTTP/1.1 Connector. However, the only way to know for sure whether
it will provide better performance for your application is
to try it both ways.