什么是SpringBoot的场景启动器
所有正式的初学者都遵循类似的命名模式:spring-boo-tstarter-*,其中*是一种特殊类型的应用程序。当您需要找到一个启动器[Pom依赖]时,此命名结构可以帮助您。许多IDE中的Maven集成允许您按名称搜索依赖项。例如: springWeb端的Pom依赖
//引入javaweb依赖
<dependency
<groupId>org.springframework.boot</groupId
<artifactId>spring-boot-starter-web</artifactId
</dependency>
spring-boot-starter-web
中的web就是SpringBoot依赖整理好的web相关的依赖。
第三方启动器
但是在SpringBoot中“第三方启动器不应该以SpringBoot开头,因为它是为官方SpringBoot的工。相反,第三方入门通常以项目名称开头。例如:
第三方启动程序项目称为thirdparty-project
通常被命名为thirdparty-project-spring-boot启动程序。
SpringBoot官方的场景启动器
**以下【描述】为机翻,具体请看SpringBoot的官方文档**
启动器 | 描述 |
---|---|
spring-boot-starter | 核心启动器,包括自动配置支持,日志和YAML |
spring-boot-starter-activemq | 使用Apache ActiveMQ的JMS消息传递入门 |
spring-boot-starter-amqp | 启动使用Spring AMQP和Rabbit MQ |
spring-boot-starter-aop | 使用Spring AOP和AspectJ进行面向方面编程的初学者 |
spring-boot-starter-artemis | 入门使用Apache Artemis的JMS消息传递 |
spring-boot-starter-batch | 使用Spring批处理的启动器 |
spring-boot-starter-cache | 开始使用Spring框架的缓存支持 |
spring-boot-starter-cloud-connectors | 入门使用Spring Cloud Connectors,它简化了连接云平台上的服务,如Cloud Foundry和Heroku |
spring-boot-starter-data-cassandra | 熟悉使用Cassandra分布式数据库和Spring Data Cassandra |
spring-boot-starter-data-cassandra-reactive | 入门使用Cassandra分布式数据库和Spring Data Cassandra Reactive |
spring-boot-starter-data-couchbase | 入门使用面向文档的Couchbase数据库和Spring Data Couchbase |
spring-boot-starter-data-couchbase-reactive | 入门,使用面向文档的Couchbase数据库和Spring Data Couchbase响应式 |
spring-boot-starter-data-elasticsearch | 开始使用Elasticsearch搜索和分析引擎和Spring数据Elasticsearch |
spring-boot-starter-data-jdbc | 使用Spring Data JDBC的入门程序 |
spring-boot-starter-data-jpa | 使用Hibernate的Spring Data JPA入门 |
spring-boot-starter-data-ldap | 启动使用Spring Data LDAP |
spring-boot-starter-data-mongodb | 入门使用MongoDB面向文档的数据库和Spring数据MongoDB |
spring-boot-starter-data-mongodb-reactive | 入门使用MongoDB面向文档的数据库和Spring数据MongoDB响应 |
spring-boot-starter-data-neo4j | 开始使用Neo4j graph database和Spring Data Neo4j |
spring-boot-starter-data-redis | 启动使用Redis键值数据存储与Spring数据Redis |
spring-boot-starter-data-redis-reactive | 启动使用Redis key-value数据存储与Spring数据Redis |
spring-boot-starter-data-rest | 开始使用Spring Data REST在REST上公开Spring数据存储库 |
spring-boot-starter-data-solr | 入门使用Apache Solr搜索平台与Spring Data Solr |
spring-boot-starter-freemarker | 入门使用FreeMarker视图构建MVC web应用程序 |
spring-boot-starter-groovy-templates | 入门使用Groovy模板视图构建MVC web应用程序 |
spring-boot-starter-hateoas | 入门级使用Spring MVC和Spring HATEOAS构建基于超媒体的RESTful web应用程序 |
spring-boot-starter-integration | 使用Spring集成的启动器 |
spring-boot-starter-jdbc | 使用HikariCP连接池的JDBC入门 |
spring-boot-starter-jersey | 入门使用JAX-RS和Jersey构建RESTful web应用程序,spring-boot-starter-web的替代方案 |
spring-boot-starter-jooq | 入门使用jOOQ访问SQL数据库,spring-boot-starter-data-jpa或spring-boot-starter-jdbc的替代方案 |
spring-boot-starter-json | 入门级的json读写 |
spring-boot-starter-jta-atomikos | 使用Atomikos启动JTA事务 |
spring-boot-starter-jta-bitronix | 使用Bitronix启动JTA事务 |
spring-boot-starter-mail | 开始使用Java邮件和Spring框架的电子邮件发送支持 |
spring-boot-starter-mustache | 初学者使用Mustache视图构建web应用程序 |
spring-boot-starter-oauth2-client | 开始使用Spring Security的OAuth2/OpenID连接客户端特性 |
spring-boot-starter-oauth2-resource-server | 开始使用Spring Security的OAuth2资源服务器特性 |
spring-boot-starter-quartz | 使用Quartz调度程序的启动程序 |
spring-boot-starter-security | 开始使用Spring安全性 |
spring-boot-starter-test | 使用JUnit、Hamcrest和Mockito等库测试Spring引导应用程序 |
spring-boot-starter-thymeleaf | 入门使用Thymeleaf视图构建MVC web应用程序 |
spring-boot-starter-validation | 初学者使用Hibernate验证器使用Java Bean验证 |
spring-boot-starter-web | 入门构建web,包括使用Spring MVC的RESTful应用程序,使用Tomcat作为默认的嵌入式容器 |
spring-boot-starter-web-services | 入门使用Spring Web服务 |
spring-boot-starter-webflux | 入门使用Spring框架的响应式Web支持构建WebFlux应用程序 |
spring-boot-starter-websocket | 使用Spring框架的WebSocket支持构建WebSocket应用程序 |
官方文档
链接: https://docs.spring.io/spring-boot.
如果对您有帮助请打赏一下吧,谢谢大佬~~!