springboot中starters 提供的经常使用的依赖

1. 名字有什么含义:全部的starters遵循一个类似的命名模式: spring-boot-starter-* ,在这里 * 是一种特殊类型的应用程序。 该命名结构旨在帮你找到须要的starter。不少IDEs集成的Maven容许你经过名称搜索依赖。例如,使用相应的Eclipse或STS 插件,你能够简单地在POM编辑器中点击 ctrl-space ,而后输入"spring-boot-starter"能够获取一个完整列表。java

    下面的应用程序starters是Spring Boot在 org.springframework.boot 组下提供的:web

   (1) spring-boot-starterredis

            核心Spring Boot starter,包括自动配置支持,日志和YAMLspring

   (2) spring-boot-starter-actuatorshell

            生产准备的特性,用于帮你监控和管理应用编程

   (3) spring-boot-starter-amqptomcat

            对"高级消息队列协议"的支持,经过 spring-rabbit 实现websocket

   (4) spring-boot-starter-aopmvc

            对面向切面编程的支持,包括 spring-aop 和AspectJssh

   (5) spring-boot-starter-mail

            对 javax.mail 的支持

   (6) spring-boot-starter-mobile

            对 spring-mobile 的支持

   (7) spring-boot-starter-redis

            对REDIS键值数据存储的支持,包括 spring-redis

   (8) spring-boot-starter-security

           对 spring-security 的支持

   (9) spring-boot-starter-test

            对经常使用测试依赖的支持,包括JUnit, Hamcrest和Mockito,还有 spring-test 模块

   (10) spring-boot-starter-thymeleaf

            对Thymeleaf模板引擎的支持,包括和Spring的集成

   (11) spring-boot-starter-web

            对全栈web开发的支持,包括Tomcat和 spring-webmvc

   (12) spring-boot-starter-websocket

            对WebSocket开发的支持

   (13) spring-boot-starter-remote-shell

            添加远程 ssh shell支持

   (14) spring-boot-starter-jetty

            导入Jetty HTTP引擎(做为Tomcat的替代)

   (15) spring-boot-starter-log4j

            对Log4J日志系统的支持

   (16) spring-boot-starter-logging

            导入Spring Boot的默认日志系统(Logback)

    (17)spring-boot-starter-tomcat

            导入Spring Boot的默认HTTP引擎(Tomcat)

相关文章
相关标签/搜索