I wish to setup and Apache and Tomcat together and deploy my war file around the this setup. My real question is the way i separate my application for apache and tomcat ?Please produce example.

Thanks Kumara

Generally I place static files in addition to spinning, AJP, along with other personalization filters in the Apache layer, go through necessary Web addresses to Tomcat and Servlet processing.

If you're completely included in the .war and do not need to have the characteristics of the web server, Tomcat is perfectly happy serving HTTP directly.