I have 3 WAR files in my application, all the 3 are webapplications and does have dependency between each other I am compressing all the 3 WARs in an EAR file and I have deploy that in Jboss server. Now I am planning to migrate from Jboss to Tomcat, since there are 3 WARs whether I need to deploy all the 3 separately in webapps of tomcat or is there any possibility to create a single WAR which will have other 2 WARs compressed in it? Please clarify the best approach in doing so.
Anything is possible, but it depends on what those web applications do if YOU can really do this. Basically you'll be merging three applications into one application and that merge starts at the code because you'll need to merge configuration files as well (such as the web.xml). Is that possible? Only you can answer that.
Thanks gimbal2, we have all the 3 WARs each contains web.xml, but when I deploy each of them separately in tomcat/webapps I am getting an error , whether I need to compress all the 3 in single WAR and deploy? Whether that will make a difference? Please clarify.