Spring-Boot-Starter2.0的启动器详解

什么是Starters启动器?

Spring Starters are a set of convenient dependency descriptors that
you can include in your application.

Spring启动器是一个方便使用的依赖集合,或者理解为一个依赖组件的集合。启用对某些功能的支持,只要POM引入对应Starters即可

官方文档地址

https://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/#using-boot-starter

启动器相关内容

  • spring-boot-starter

Core starter, including auto-configuration support, logging and YAML

核心启动器,包含自动配置,日志和YAML配置
  • spring-boot-starter-activemq

Starter for JMS messaging using Apache ActiveMQ

消息队列的组件,支持ActiveMQ
  • spring-boot-starter-amqp

Starter for using Spring AMQP and Rabbit MQ

消息队列的组件,支持Spring AMQP和Rabbit MQ
  • spring-boot-starter-aop

Starter for aspect-oriented programming with Spring AOP and AspectJ

切面编程支持
  • spring-boot-starter-artemis

Starter for JMS messaging using Apache Artemis

消息队列的组件,支持Artemis
  • spring-boot-starter-batch

Starter for using Spring Batch

spring batch批量处理框架支持
  • spring-boot-starter-cache

Starter for using Spring Framework’s caching support

支持spring的缓存
  • spring-boot-starter-cloud-connectors

Starter for using Spring Cloud Connectors which simplifies connecting to services in cloud platforms like Cloud Foundry and Heroku

Spring Cloud客户端
  • spring-boot-starter-data-cassandra

Starter for using Cassandra distributed database and Spring Data Cassandra

支持Cassandra的NoSQL数据库系统
  • spring-boot-starter-data-cassandra-reactive

Starter for using Cassandra distributed database and Spring Data Cassandra Reactive

支持Cassandra的NoSQL数据库系统
  • spring-boot-starter-data-couchbase

Starter for using Couchbase document-oriented database and Spring Data Couchbase

支持Couchbase的NoSQL数据库系统
  • spring-boot-starter-data-couchbase-reactive

Starter for using Couchbase document-oriented database and Spring Data Couchbase Reactive

支持Couchbase的NoSQL数据库系统
  • spring-boot-starter-data-elasticsearch

Starter for using Elasticsearch search and analytics engine and Spring Data Elasticsearch

支持ElasticSearch的搜索服务器
  • spring-boot-starter-data-jpa

Starter for using Spring Data JPA with Hibernate

支持JPA功能,注解实现ORM
  • spring-boot-starter-data-ldap

Starter for using Spring Data LDAP

支持LDAP轻量目录访问协议
  • spring-boot-starter-data-mongodb

Starter for using MongoDB document-oriented database and Spring Data MongoDB

支持MongoDB分布式文件存储的数据库
  • spring-boot-starter-data-mongodb-reactive

Starter for using MongoDB document-oriented database and Spring Data MongoDB Reactive

支持MongoDB分布式文件存储的数据库
  • spring-boot-starter-data-neo4j

Starter for using Neo4j graph database and Spring Data Neo4j

支持MongoDB分布式文件存储的数据库
  • spring-boot-starter-data-redis

Starter for using Redis key-value data store with Spring Data Redis and the Lettuce client

支持Neo4j一个高性能的NOSQL图形数据库
  • spring-boot-starter-data-redis-reactive

Starter for using Redis key-value data store with Spring Data Redis reactive and the Lettuce client

支持Redis存储key-value数据库
  • spring-boot-starter-data-rest

Starter for exposing Spring Data repositories over REST using Spring Data REST

支持Spring Data REST入门,两行代码搞定RESTFul
  • spring-boot-starter-data-solr

Starter for using the Apache Solr search platform with Spring Data Solr

支持Spring Data Solr搜索引擎
  • spring-boot-starter-freemarker

Starter for building MVC web applications using FreeMarker views

支持freemarker强大的模板引擎
  • spring-boot-starter-groovy-templates

Starter for building MVC web applications using Groovy Templates views

支持Groovy Templates模板引擎
  • spring-boot-starter-hateoas

Starter for building hypermedia-based RESTful web application with Spring MVC and Spring HATEOAS

支持用于支持实现超文本驱动的 REST Web 服务的开发库Spring HATEOAS
  • spring-boot-starter-integration

Starter for using Spring Integration

支持基于Spring的EIP(Enterprise Integration Patterns,企业集成模式)的实现
  • spring-boot-starter-jdbc

Starter for using JDBC with the HikariCP connection pool

支持HikariCP jdbc连接池
  • spring-boot-starter-jersey

Starter for building RESTful web applications using JAX-RS and Jersey. An alternative to spring-boot-starter-web

支持JAX-RS和Jersey标准的RESTful web风格
  • spring-boot-starter-jooq

Starter for using jOOQ to access SQL databases. An alternative to spring-boot-starter-data-jpa or spring-boot-starter-jdbc

支持jOOQ数据库连接
  • spring-boot-starter-json

Starter for reading and writing json

支持使用json(一般自己用jackon或者fastjson)
  • spring-boot-starter-jta-atomikos

Starter for JTA transactions using Atomikos

支持分布式事务JTA的Atomikos实现
  • spring-boot-starter-jta-bitronix

Starter for JTA transactions using Bitronix

支持分布式事务JTA的Bitronix实现
  • spring-boot-starter-jta-narayana

Starter for JTA transactions using Narayana

支持分布式事务JTA的Narayana实现
  • spring-boot-starter-mail

Starter for using Java Mail and Spring Framework’s email sending support

支持Java Mail和spring email邮件发送
  • spring-boot-starter-mustache

Starter for building web applications using Mustache views

支持无逻辑的模板语法Mustache views
  • spring-boot-starter-quartz

Starter for using the Quartz scheduler

支持Quartz定时任务功能
  • spring-boot-starter-security

Starter for using Spring Security

支持Spring Security安全认证框架
  • spring-boot-starter-test

Starter for testing Spring Boot applications with libraries including JUnit, Hamcrest and Mockito

支持 Spring Boot 的测试功能(包括JUnit/Hamcrest/Mockito)
  • spring-boot-starter-thymeleaf

Starter for building MVC web applications using Thymeleaf views

支持Thymeleaf 模板语言
  • spring-boot-starter-validation

Starter for using Java Bean Validation with Hibernate Validator

支持Hibernate Validator校验框架
  • spring-boot-starter-web

Starter for building web, including RESTful, applications using Spring MVC. Uses Tomcat as the default embedded container

支持web功能,包括Restful、应用、mvc、tomcat等
  • spring-boot-starter-web-services

Starter for using Spring Web Services

支持webservice功能
  • spring-boot-starter-webflux

Starter for building WebFlux applications using Spring Framework’s Reactive Web support

支持WebFlux响应式编程
  • spring-boot-starter-websocket

Starter for building WebSocket applications using Spring Framework’s WebSocket support

支持WebSocket编程

猜你喜欢

转载自blog.csdn.net/moshowgame/article/details/80497995