Difference between Spring and Spring Boot

后端 未结 6 1427
走了就别回头了
走了就别回头了 2020-12-14 01:39

There are many people who advised me to use Spring Boot instead of Spring to develop REST web services. I want to know what exactly the difference between the two is?

6条回答
  •  遥遥无期
    2020-12-14 02:22

    In short

    1. Spring Boot reduces the need to write a lot of configuration and boilerplate code.
    2. It has an opinionated view on Spring Platform and third-party libraries so you can get started with minimum effort.
    3. Easy to create standalone applications with embedded Tomcat/Jetty/Undertow.
    4. Provides metrics, health checks, and externalized configuration.

    You can read more here http://projects.spring.io/spring-boot/

提交回复
热议问题