Explaining the internal workings of Tomcat, this guide is for advanced developers interested in writing their own modules or understanding more than just servlet/JSP programming. In addition to covering the configuration or servlet development with Tomcat, it also provides software architects with information on successfully developing large applications. Developers are shown how to create Java Web servers, how to run a Tomcat servlet that implements the SingleThreadModel interface, how Tomcat manages sessions, and how to extend the session manager in a distributed environment. In addition, the four types of containers—engine, host, context, and wrapper—are covered, and JMX, Apache's Commons Modeler, and Tomcat JMX manageable resources are described. This second edition focuses on the latest version of Tomcat—Version 5.5.