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:
-
为所有 Spring 开发提供一个极快且广泛适用的入门体验。
-
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).
-
完全无需代码生成功能(不针对本机映像)并且无需 XML 配置。
-
Absolutely no code generation (when not targeting native image) and no requirement for XML configuration.