Chapter 11. Advanced Configuration for Apache Tomcat 7
In the previous chapters, we have discussed various topics for Tomcat 7 such as clustering, load balancing and so on. But, in practice, there are some different configurations needed to perform on the system, apart from the Tomcat internal configuration, in order to manage the systems. In this chapter, we will discuss the advanced topics for Tomcat 7, used in real-world industries, to create the web infrastructure and support multiple web applications.
In this chapter, we will discuss the following topics:
Virtual hosting
Running multiple applications on a single Tomcat server
Multiple Tomcat environments such as Development, QA, Stage, and Production
Tuning cache
Optimization of Tomcat
Virtual hosting
It's a method through which you can host multiple domain names on the same web server or on a single IP. The concept is called shared hosting, where one server is used to host multiple websites. For example, if you want to host abc.com
and xyz...