Spring Boot

Spring Boot 可帮助您创建独立式且可运行的生产级基于 Spring 的应用程序。我们采用 Spring 平台和第三方库的观点,以便您可以轻松入门。大多数 Spring Boot 应用程序需要的 Spring 配置很少。

Spring Boot helps you to create stand-alone, production-grade Spring-based applications that you can run. We take an opinionated view of the Spring platform and third-party libraries, so that you can get started with minimum fuss. Most Spring Boot applications need very little Spring configuration.

您可以使用 Spring Boot 创建 Java 应用程序,可以通过使用 java -jar 或更传统的 War 部署来启动该应用程序。

You can use Spring Boot to create Java applications that can be started by using java -jar or more traditional war deployments.

我们的主要目标是:

Our primary goals are:

  • Provide a radically faster and widely accessible getting-started experience for all Spring development.

  • Be opinionated out of the box but get out of the way quickly as requirements start to diverge from the defaults.

  • Provide a range of non-functional features that are common to large classes of projects (such as embedded servers, security, metrics, health checks, and externalized configuration).

  • Absolutely no code generation (when not targeting native image) and no requirement for XML configuration.