tomcatear

Deploying .ear file to tomcat


I have an .ear file which contains multiple war files.

I am moving the app to Tomcat. Once I have packaged all of the individual war files contained in the .ear for tomcat compatability how will the war files be deployed ?

Do I just need to deploy all of the individual war files to tomcat and it should "just work" or is it not as simple as this ?

To be more specific what is the Tomcat equivalent "glue" that WebSphere provides to package all the wars in one ear?


Solution

  • Tomcat doesn't support the full EE stack, it's a servlet container only. You'll have to deploy the WARs separately or to replace Tomcat by a full EE server such as TomEE.