Packaging Your Application for Production

可执行 jar 可用于生产部署。由于它们是自包含的,因此非常适合基于云的部署。

Executable jars can be used for production deployment. As they are self-contained, they are also ideally suited for cloud-based deployment.

对于其他 “production ready” 功能,例如健康、审计和指标 REST 或 JMX 端点,请考虑添加 spring-boot-actuator。有关详细信息,请参见 Actuator

For additional “production ready” features, such as health, auditing, and metric REST or JMX end-points, consider adding spring-boot-actuator. See Actuator for details.