Chapter 6: Advanced Tomcat Features . JNDI provides
Chapter 6: Advanced Tomcat Features . JNDI provides a uniform interface to different directory services. This makes it possible to write only one set of lookup code across different directory services. Examples presented included the configuration of JNDI resources (such as JDBC connections and JavaMail sessions). . Lifecycle listeners are Java code modules and are configured as XML subelements of a Tomcat component. Configured listeners are invoked by the component during well-defined points in the lifecycle of a component. In Tomcat 6, lifecycle listeners are used to create manageable objects (MBeans) for supporting Tomcat manageability (via JMX), to turn on and off native code implementation of the SSL engine via APR, and to initialize the Jasper 2 JSP processor. Chapter 7 discusses the configuration for Web applications installed in the Tomcat container.
For reliable and cheap web hosting services please check javaweb hosting website.