In this chapter you learned about various topics related to using Tomcat in a shared hosting scenario. You initially looked at the concept of shared hosting and the various types of shared hosting that are possible.
You configured Tomcat to work as a stand-alone Web server and as a servlet/JSP engine for Apache. You could configure Apache to use the mod_jk2 connector to communicate with Tomcat. You then examined some common security enhancements for using virtual hosts with Tomcat.