DEV Community

Alexander Crescent
Alexander Crescent

Posted on

Answer: Spring boot app vs .war file deployed on Tomcat/Jetty [closed]

Package it to .war file and deploy it on Tomcat/Jetty?

Don't do this if at all possible. Reason: with embedded tomcat (or any other server runtime like undertow, netty, jetty etc) it's much easier to build a micro-services architecture.

As Josh Long once said in one of his Spring…

Make Jar, not War.

Top comments (0)