As per as the Hosting is concern the Apache Tomcat is used which implements the Java Server Pages specifications from the java Community process and it also includes many features that make it useful platform for developing and deploying web applications and web services.
Apache tomcat is a servlet container which is developed by the Apache Software Foundation. Specifications of the JavaServer Pages (JSP) and the java Servlet are implemented by the Tomcat. Tomcat provides the pure Java HTTP web server environment for the java code to run.
Many times people get confused Tomcat and Apache Web Server, however these two concepts are different. Apache web server is the C implementation of the HTTP web server. Apache tomcat includes tools for the management and the configuration, however it can also be configured by editing the XML configuration files.
Tomcat is a free and open source software which is developed by the Apache Software, it is famous as a cross platform and any OS can fit with a Java Run time environment. It can function independently as a web server or in conjunction to Apache HTTP Server.
If we study the Tomcat 4.x version. The important components of the product are listed below.
Catalina: It is the main container for the servlet, which implements Sun Microsystem’s specification for the servlet and the JSP
Coyote is the Tomcat’s HTTP connector that supports the HTTP 1.1 protocol. It has a support for the web server or application container. It is responsible for listening the request on the TCP port on the server and forwards the request to the Tomcat engine to get processed and then sends the response back to the requesting client.
This is the main JSP Engine for the Tomcat. It is the implementation of the Sun Microsystems java Server Pages and the specification. Jasper at the runtime is able to automatically detect the JSP file changes and then it recompiles them.
These products is widely used for hosting and worldwide Web applications.