What are the pros/cons to using Boot with embedded server rather than conventionally deploying war to web server?
I realize it is a great fit for development and also seems to be embedded in most discussions surrounding microservices. Is this model intended to be deployed to production? Seems like tuning the embedded server could be problematic not to mention heap requirements.
Each Spring Boot web application includes an embedded web server. This feature leads to a number of how-to questions, including how to change the embedded server and how to configure the embedded server.
Disadvantages of Spring Boot Large deployment files that result from unused dependencies. The long amount of time that it takes to replace legacy systems with Spring Boot applications. Its inability to build large, monolithic applications (although it works extremely well for developing microservices)
An embedded server is embedded as part of the deployable application. If we talk about Java applications, that would be a JAR. The advantage with this is you don't need the server pre-installed in the deployment environment. With SpringBoot, the default embedded server is Tomcat.
Pros:
Cons:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With