What are the advantages of spring boot application?
Spring boot provide a range of non-functional features that are common to large classes of projects (e.g. embedded servers, security, metrics, health checks, externalized configuration).
Advantages of spring boot application
- Create stand-alone Spring applications
- Embed Tomcat, Jetty or Undertow directly (no need to deploy WAR files)
- Provide opinionated 'starter' POMs to simplify your Maven configuration
- Automatically configure Spring whenever possible
- Provide production-ready features such as metrics, health checks and externalized configuration
- Absolutely no code generation and no requirement for XML configuration
- No need of creating boilerplate configuration
- Plenty of SpringBoot Starter to quickly get up and running
- DevTools to autorestart server on code/config updates
- Easier customization of application properties
- Easy management of profile specific properties
- Easier dependency management using platform-bom
- Embedded tomcat discard the web.xml configuration;
- spring-boot security discard the applicationcontext-security.xml configuration;
- spring-boot webservice discard the applicationcontext-ws.xml configuration;
- spring-boot mvc discard the applicationcontext.xml configuration;
- spring-boot datasource(both Relational Database and nosql Database) discard the applicationcontext.xml configuration,even if more than one datasource.
- Provide a radically faster and widely accessible getting started experience for all Spring development.
Read More →