blue-sky
blue-sky

Reputation: 53806

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?

Upvotes: 10

Views: 35574

Answers (2)

Giorgi Tsiklauri
Giorgi Tsiklauri

Reputation: 11110

Apache Tomcat is a Servlet Container, which implements only the following parts of Jakarta EE:

  1. Servlet API;
  2. JSP;
  3. EL (Expression Language);
  4. Web Socket;
  5. Authorization.

All these are just some sub-specifications of entire Jakarta EE specification, which is way more than just what Tomcat implements. See more at https://en.wikipedia.org/wiki/Jakarta_EE.

Upvotes: 0

Peter Svensson
Peter Svensson

Reputation: 6173

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.

Upvotes: 14

Related Questions