Spring boot embedded container or war file in an external container for production

后端 未结 5 1163
梦毁少年i
梦毁少年i 2020-12-28 15:13

I\'m complete able to configure spring boot in both cases, the question here is which of them are more robust and is the more recommended, because I didn\'t find in the spri

5条回答
  •  无人及你
    2020-12-28 15:16

    I don't know much about server kind of things, But my recommendation is

    • If you are using Monolithic application, better to use war with external tomcat.

    • If you are using for Micro Service applications, use embedded tomcat with different port. And each micro service applications are independent from each other.

提交回复
热议问题