spring boot(一):什么是spring boot
什么是spring boot
官网说的很清晰
一、Overview
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.
spring boot可以很轻松的创建独立的、基于spring的生产级应用,你需要做的仅仅是运行它。
spring boot提供了对spring平台和第三方包的支持,你可以很快的入手。大多数spring boot应用只需要很少的spring配置。
二、Features
-
Create stand-alone Spring applications(创建独立的spring应用)
-
Embed Tomcat, Jetty or Undertow directly (no need to deploy WAR files)(集成tomcat、jetty、undertow等内置容器,无需打成war包)
-
Provide opinionated 'starter' dependencies to simplify your build configuration(提供可选的starter来简化依赖配置)
-
Automatically configure Spring and 3rd party libraries whenever possible(随时可以自动配置spring和第三方jar包)
-
Provide production-ready features such as metrics, health checks, and externalized configuration(提供生成环境特性如指标信息、健康检查和外部化配置)
-
Absolutely no code generation and no requirement for XML configuration(无需生成代码和xml配置)