Spring Boot有六大特性:
- 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
逐一翻译:
- 创建独立的Spring应用
- 直接嵌入Tomcat、Jetty或Undertow等Web容器(不需要部署WAR文件)
- 提供固化的“starter”依赖,简化构建配置
- 当条件满足时自动地装配Spring或第三方类库
- 提供运维(production-ready)特性,如指标信息(metrics)、健康检查及外部化配置
- 绝无代码生成,并且不需要XML配置
Spring Framework是Spring Boot的“基础设施”,Spring Boot的基本特性均来自Spring Framework。Spring Boot又作为Spring Cloud的基础设施,让实现Cloud Native成为可能。