Skip to content Skip to footer

SpringBoot 常用starter

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模板引擎。27)spring-boot-starter-Redis 支持Redis键值存储数据库,包括spring-redis。28)spring-boot-starter-security 支持spring-security。29)spring-boot-starter-social-facebook 支持spring-social-facebook30)spring-boot-starter-social-linkedin 支持pring-social-linkedin31)spring-boot-starter-social-twitter 支持pring-social-twitter32)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。38)spring-boot-starter-remote-shell 增加了远程ssh shell的支持。39)spring-boot-starter-jetty 引入了Jetty HTTP引擎(用于替换Tomcat)。40)spring-boot-starter-log4j 支持Log4J日志框架。41)spring-boot-starter-logging 引入了Spring Boot默认的日志框架Logback。42)spring-boot-starter-tomcat 引入了Spring Boot默认的HTTP引擎Tomcat。43)spring-boot-starter-undertow 引入了Undertow HTTP引擎(用于替换Tomcat)。

------------------------------------------------------------------------------------------------------------------------------

Spring Boot常用的starter有很多,以下是一些常见的starter:

1. spring-boot-starter-web:用于构建Web应用程序的starter,包括Spring MVC和Tomcat服务器。它提供了处理HTTP请求和响应的功能。

2. spring-boot-starter-data-jpa:用于与关系型数据库进行交互的starter,包括Spring Data JPA和Hibernate。它简化了与数据库的交互,提供了常见的CRUD操作。

3. spring-boot-starter-security:用于添加安全性功能的starter,包括Spring Security和OAuth2。它提供了身份验证、授权和安全配置的功能。

4. spring-boot-starter-test:用于编写单元测试和集成测试的starter,包括JUnit和Spring Test。它提供了测试框架和工具,方便进行单元测试和集成测试。

5. spring-boot-starter-actuator:用于监控和管理应用程序的starter,包括健康检查、指标收集和远程管理功能。它提供了监控应用程序运行状态的功能。

6. spring-starter-cache:用于添加缓存支持的starter,包括Spring Cache和Ehcache。它提供了缓存数据的功能,提高应用程序的性能。

7. spring-boot-starter-data-redis:用于与Redis数据库进行交互的starter,包括Spring Data Redis。它简化了与Redis的交互,提供了常见的操作方法。

8. spring-boot-starter-mail:用于发送电子邮件的starter,包括JavaMail和Spring Mail。它提供了发送电子邮件的功能。

9. spring-boot-starter-log4j2:用于使用Log4j2进行日志记录的starter。它提供了日志记录的功能,方便调试和错误追踪。

10. spring-boot-starter-thymeleaf:用于使用Thymeleaf模板引擎的starter。它提供了使用Thymeleaf进行页面渲染的功能。

这些starter可以根据应用程序的需求选择使用,它们提供了各种功能和便利,简化了应用程序的开发和配置过程。 作者:计算机毕业设计明哥 https://www.bilibili.com/read/cv24946532/ 出处:bilibili

Copyright © 2088 世界杯八强_2018年世界杯亚洲区预选赛 - nprny.com All Rights Reserved.
友情链接