Spring Boot的工具包命名格式 : spring-boot-starter-*
以后,我们自己写的工具包,也基本这样命名。
Spring Boot一个很牛逼的地方就在于它提供了很多,以spring-boot-starter-* 开头的开箱即用的工具包,以下是比较常见的几种:
spring-boot-starter: 核心的工具包,提供了自动配置,日志和YAML配置支持
spring-boot-starter-web: 提供了快速集成web模块的工具包,包括基于SpringMVC,Tomcat服务器等
spring-boot-starter-aop: 提供了快速集成SpringAOP和AspectJ的工具包
spring-boot-starter-freemarker: 提供了快速集成FreeMarker的工具包
spring-boot-starter-test: 提供了测试SpringBoot应用的工具包
spring-boot-starter-actuator: 提供了生产环境中使用的应用监控工具包
spring-boot-starter-logging: 提供了对日志的工具包,默认使用Logback