啥是利用启动器?SpringBoot集成了spring的很多模块,比方tomcat、redis等等。你用SpringBoot搭建我的项目,只须要在pom.xml引入相干的依赖,和在配置文件中简略的配置就能够应用相应模块了。

十分不便,spring boot集成了哪些启动器呢?

SpringBoot利用启动器根本的一共有44种,具体如下:

1)spring-boot-starter 这是Spring Boot的外围启动器,蕴含了主动配置、日志和YAML。

2)spring-boot-starter-actuator 帮忙监控和治理利用。

3)spring-boot-starter-amqp

通过spring-rabbit来反对AMQP协定(Advanced Message Queuing Protocol)。

4)spring-boot-starter-aop 反对面向方面的编程即AOP,包含spring-aop和AspectJ。

5)spring-boot-starter-artemis 通过Apache Artemis反对JMS的API(Java Message Service API)。

6)spring-boot-starter-batch 反对Spring Batch,包含HSQLDB数据库。

7)spring-boot-starter-cache 反对Spring的Cache形象。

8)spring-boot-starter-cloud-connectors 反对Spring Cloud Connectors,简化了在像Cloud Foundry或Heroku这样的云平台上连贯服务。

9)spring-boot-starter-data-elasticsearch 反对ElasticSearch搜寻和剖析引擎,包含spring-data-elasticsearch。

10)spring-boot-starter-data-gemfire 反对GemFire分布式数据存储,包含spring-data-gemfire。

11)spring-boot-starter-data-jpa 反对JPA(Java Persistence API),包含spring-data-jpa、spring-orm、hibernate。

12)spring-boot-starter-data-MongoDB 反对MongoDB数据,包含spring-data-mongodb。

13)spring-boot-starter-data-rest 通过spring-data-rest-webmvc,反对通过REST裸露Spring Data数据仓库。

14)spring-boot-starter-data-solr 反对Apache Solr搜寻平台,包含spring-data-solr。

15)spring-boot-starter-freemarker 反对FreeMarker模板引擎。

16)spring-boot-starter-groovy-templates 反对Groovy模板引擎。

17)spring-boot-starter-hateoas 通过spring-hateoas反对基于HATEOAS的RESTful Web服务。

18)spring-boot-starter-hornetq 通过HornetQ反对JMS。

19)spring-boot-starter-integration 反对通用的spring-integration模块。

20)spring-boot-starter-jdbc 反对JDBC数据库。

21)spring-boot-starter-jersey 反对Jersey RESTful Web服务框架。

22)spring-boot-starter-jta-atomikos 通过Atomikos反对JTA分布式事务处理。

23)spring-boot-starter-jta-bitronix 通过Bitronix反对JTA分布式事务处理。

24)spring-boot-starter-mail 反对javax.mail模块。

25)spring-boot-starter-mobile 反对spring-mobile。

26)spring-boot-starter-mustache 反对Mustache模板引擎。

26)Spring 高级源码全家桶,点击查看

27)spring-boot-starter-Redis 反对Redis键值存储数据库,包含spring-redis。

28)spring-boot-starter-security 反对spring-security。

29)spring-boot-starter-social-facebook 反对spring-social-facebook

30)spring-boot-starter-social-linkedin 反对pring-social-linkedin

31)spring-boot-starter-social-twitter 反对pring-social-twitter

32)spring-boot-starter-test 反对惯例的测试依赖,包含JUnit、Hamcrest、Mockito以及spring-test模块。

33)spring-boot-starter-thymeleaf 反对Thymeleaf模板引擎,包含与Spring的集成。

34)spring-boot-starter-velocity 反对Velocity模板引擎。

35)spring-boot-starter-web S反对全栈式Web开发,包含Tomcat和spring-webmvc。

36)spring-boot-starter-websocket 反对WebSocket开发。

37)spring-boot-starter-ws 反对Spring Web Services。

Spring Boot利用启动器面向生产环境的还有2种,具体如下:

38)spring-boot-starter-actuator 减少了面向产品上线相干的性能,比方测量和监控。

39)spring-boot-starter-remote-shell 减少了近程ssh shell的反对。

最初,Spring Boot利用启动器还有一些替换技术的启动器,具体如下:

40)spring-boot-starter-jetty 引入了Jetty HTTP引擎(用于替换Tomcat)。

41)spring-boot-starter-log4j 反对Log4J日志框架。

42)spring-boot-starter-logging 引入了Spring Boot默认的日志框架Logback。

43)spring-boot-starter-tomcat 引入了Spring Boot默认的HTTP引擎Tomcat。

44)spring-boot-starter-undertow 引入了Undertow HTTP引擎(用于替换Tomcat)。