Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 1.15 KB

08.md

File metadata and controls

11 lines (8 loc) · 1.15 KB

8. 介绍Spring Boot

Spring Boot让创建你可以运行的脱机的(stand-alone),工业级的(production-grade)基于Spring的应用更加容易。我们采取Spring和第三方库各以为是的观点(原文:We take an opinionated view of the Spring platform and third-party libraries),以便于你可以以较少的烦恼开始。大部分的Spring Boot应用需要很少的Spring配置。

你可以使用Spring Boot创建可以用java -jar启动的Java应用,或者更传统的war部署。我们也提供一个运行“spring脚本”的命令行工具。

我们的主要目标是:

  • 为所有Spring开发提供一个完全(radically)快速和广泛可理解的(accessible)入门(getting-started)体验
  • Be opinionated out of the box but get out of the way quickly as requirements start to diverge from the defaults
  • 提供一系列对于大型的类和工程来说是公共的非功能性特性(如,内嵌的服务器,安全,metrics,健康检查和外部化配置)
  • 对于XML配置,完全没有代码产出和要求(原文:Absolutely no code generation and no requirement for XML configuration)