Tomcat Architecture Tomcat is a powerful Web container
Tomcat Architecture Tomcat is a powerful Web container that is made up of pluggable components that fit together in a nested manner. The configuration of these components dictates how the server will run, including such settings as whether specialized filters are used, which ports and address a server may listen on, whether it uses security or not, what the virtual hosts are, and much more. Tomcat can be easy to use in its standard configuration because you are using a default configuration. However, when you begin to think about using Tomcat in a production environment, you need to make changes to the configuration to fit your requirements. This is where having good knowledge of Tomcat s architecture comes in handy. Tomcat s configuration files can appear cryptic and difficult to follow or understand, but they follow how Tomcat pieces together its components. Understanding Tomcat s architecture can give you insight into the way Tomcat works and how its subcomponents make up a configuration. This chapter explores Tomcat from an architectural perspective. The topics covered include: . Tomcat directory structure . Overview of the major Tomcat components . Relationships between the components to make a full-service container By the end of this chapter, you should have a comprehensive understanding of the Tomcat container architecture, its subcomponents, and their relationship to one another. Tomcat Directory Overview Before delving into the Tomcat architecture, understanding the Tomcat setup and directory layout will provide a solid understanding of where things live. When you download and uncompress the Tomcat bundle, it places all of its contents in a folder or directory named apache-tomcat-6.X.XX where X.XX represents the minor version numbers. This installation or top-level directory is what is known as the CATALINA_HOME and will be referenced as such from this point forward. When you download and install Tomcat, you are presented with the directory structure, as shown in Figure 4-1 .
For high quality website hosting services please check tomcat web hosting website.