Why use spring boot instead of spring boot-less?

I am confused, why should I use Spring Boot for my next project? Is Spring Boot as powerful as Spring Boot-less? Or you can not do with Spring Boot.

+4
source share
2 answers

Spring Boot into Spring setup with batteries turned on. If you use it, you will spend less time on non-functions, because you will get quite a few things for free. The list of advantages that I have observed over the classic Spring installation (of course there are more, check out the Spring download website):

  • Dependency management - versions of frequently used libraries are pre-selected and grouped into different starting POMs, which you can include in your project. By choosing one version of Spring Boot, you implicitly select dozens of dependencies that you would need to select and reconcile yourself.
  • automatic configuration - you do not need to manually configure the dispatch servlet, static resource mappings, property loader, message converters, etc.
  • extended external configuration - there is a large list of bean properties that can be configured using the application.properties file without touching java or xml config
  • "production-ready" functions - you get a health check, application and jvm metrics, jmx via http and a few other things for free.
  • runnable jars - tomcat,

, Spring. , "vanilla" Spring, .

+11

:

Spring Boot, (, pom.xml) beans .

. , Spring Boot , . , spring-boot-starter-web pom.xml, - , .

, , .

Spring Boot. , , , , Spring Boot .

, Spring . , Spring Spring Boot.

+6

All Articles