Tomcat components tuning
In Tomcat 7, you can do many configurations to improve the server performance, threads tuning, port customization, and JVM tuning. Let's quickly discuss the major components of Tomcat 7 which are important for performance improvement.
Types of connectors for Tomcat 7
Connectors can be defined as a point of intersection where requests are accepted and responses are returned. There are three types of connectors used in Tomcat 7, as shown in the following figure. These connectors are used according to different application requirements. Let's discuss the usability of each connector:
Java HTTP Connector
The Java HTTP Connector is based on the HTTP Protocol, which supports only the HTTP/1.1 protocol. It makes the Tomcat server act as a standalone web server and also enables the functionality to host the JSP/servlet.
Note
For more information on the HTTP Connector, please visit http://tomcat.apache.org/tomcat-7.0-doc/config/http.html.
Java AJP Connector
The Java AJP Connector...