Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can "just run".
We take an opinionated view of the Spring platform and third-party libraries so you can get started with minimum fuss. Most Spring Boot applications need minimal Spring configuration.
这是官网的一个描述,这里了面大概透露了三个特点:
1、创建一个SpringBoot项目变的非常简单。
2、不需要关心一些jar包的依赖(包括spring的和一些第三方的)。
3、一个SpringBoot项目一般需要极少的配置。
当然下面官网也说了SpringBoot项目的主要特点:
- Create stand-alone Spring applications
- Embed Tomcat, Jetty or Undertow directly (no need to deploy WAR files)
- Provide opinionated 'starter' dependencies to simplify your build configuration
- Automatically configure Spring and 3rd party libraries whenever possible
- Provide production-ready features such as metrics, health checks, and externalized configuration
- Absolutely no code generation and no requirement for XML configuration
1、创建一个独立应用更加简单
2、内置了tomcat、Jetty或者是一些其它的容器,不需要发布war文件
3、提供了一个启动的依赖,配置创建非常简单
4、自动配置依赖Spring以及一些三方的jar包类库
5、提供了项目的监控检测
6、配置文件的大大减少,不用和以前一样配置xml配置文件了
\
这些基本上就是使用SpringBoot的一些好处。