As we know our most of the projects in Java is run using Tomacat application server. Sometimes we also need some web server like apache2 for other functionalities like wordpress integration.
In such situation our project need both of the server to run the application.
We can connect tomcat 7 and apache2 using mod_jk connector. Here is the code to integrate it: