spring boot特性

发布于:2024-05-21 ⋅ 阅读:(173) ⋅ 点赞:(0)

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.

If you’re looking for information about a specific version, or instructions about how to upgrade from an earlier release, check out the project release notes section on our wiki.

Features

  • Create stand-alone Spring applications

  • Embed Tomcat, Jetty or Undertow directly (no need to deploy WAR files)

  • Provide opinionated 'starter' dependencies to simplify your build configuration

  • Automatically configure Spring and 3rd party libraries whenever possible

  • Provide production-ready features such as metrics, health checks, and externalized configuration

  • Absolutely no code generation and no requirement for XML configuration

1、创建独立的Spring应用

2、内嵌web容器:直接嵌入Tomcat、Jetty 或者Undertow容器,不用打部署war文件

3、固化start依赖:提供starter依赖以简化构建配置步骤

    spring boot SPI机制、条件配置、属性配置等特性,只要引入spring-boot-starter-*,就会自用引入所需要的全部依赖

4、自动化配置:条件满足自动装配Spring或第三方类库

5、健康监控:提供运维特性,例如指标信息、健康检查和外部化配置

6、无xml配置:绝无代码生成,且无需配置xml


网站公告

今日签到

点亮在社区的每一天
去签到