Spring boot and Tomcat : Is it better to use embeded Tomcat or external Tomcat installation.

469 Views Asked by At

I was wondering if some experienced spring boot users can tell us how to choose between embedded Tomcat and external Tomcat installation. Thanks in advance.

1

There are 1 best solutions below

0
Gaurav Srivastav On BEST ANSWER

Embedded Tomcat helps you to define Standalone application. Earlier we have to deploy war to Tomcat Server which itself a tedious task. From the embedded tomcat you can run application as service without worrying about the deployment thing. As now days microservices are being popular, spring boot is more popular because of its feature one of them is embedded servers like Tomcat,Jetty or Netty.