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)