springboot starters包
starts 是方便的依赖描述符集合,你可以将其包含在应用程序中。你可以一个一站式的spring商店和相关技术。而无需遍历示例代码和依赖描述符的复制黏贴负载。例如:如果要开始使用spring和jpa进行数据库访问,请在项目中导入spring-boot-starter-data-jpa依赖项。
starters 包含许多启动项目并快速运行所需的依赖项,并且具有一组受支持的受管传递性依赖项。
所有的官方starters都遵循类似的命名方式。spring-boot-starters-,其中是特定类型的应用程序。
spring boot在org.springframework.boot组下提供了以下的应用程序starter:
名称 | 描述 | pom |
---|---|---|
spring-boot-starter | 核心starter,包含自动配置支持,日志记录和YAML | pom |
spring-boot-starter-web | 使用Spring MVC构建Web(包括RESTful)应用程序。 使用Tomcat作为默认的嵌入式容器 | pom |
spring-boot-starter-data-jdbc | 使用spring data jdbc | pom |
spring-boot-starter-activemq | 使用Apache ActiveMQ的JMS消息传递 | pom |
spring-boot-starter-amqp | 使用Spring AMQP和Rabbit MQ | pom |
spring-boot-starter-aop | 使用Spring AOP和AspectJ 进行面向切面编程 | pom |
spring-boot-starter-artemis | 使用Apache Artemis | pom |
spring-boot-starter-batch | 使用Spring Batch | pom |
spring-boot-starter-cache | 使用spring framework的缓存支持 | pom |
spring-boot-starter-cloud-connectors | 使用spring cloud connectors,可简化与cloud foundry和heroku等云平台服务连接,不赞成使用java CFEnv | pom |
spring-boot-starter-data-Cassandra | 使用Cassandra分布式数据库和spring data Cassandra | pom |
spring-boot-starter-data-cassandra-reactive | 使用cassandra分布式数据库和spring data cassandra reactive | pom |
spring-boot-starter-data-couchbase | 使用couchbase文档数据库和spring data couchbase | pom |
spring-boot-starter-data-couchbase-reactive | 使用couchbase文档数据库和spring data couchbase ractive | pom |
spring-boot-starter-data-elasticsearch | 使用elasticsearch搜索分析引擎和spring data elasticsearch | pom |
spring-boot-starter-data-jpa | 使用带有hibernate的spring data jpa | pom |
spring-boot-starter-data-ldap | 使用spring data LDAP | pom |
spring-boot-starter-data-mongodb | 使用MongoDB文档数据库 和 spring data MongoDB | pom |
spring-boot-starter-data-mongodb-reactive | 使用MongoDB文档数据库 和 spring data MongoDB reactive | pom |
spring-boot-starter-data-neo4j | 使用neo4j图形数据库 和 spring data neo4j | pom |
spring-boot-starter-data-redis | 使用redis键值数据存储与spring data redis 与 lettuce 客户端 | pom |
spring-boot-starter-data-redis-reactive | 使用redis键值数据存储与spring data redis reactive与 lettuce 客户端 | pom |
spring-boot-starter-data-rest | 使用Spring Data REST在REST上公开Spring Data存储库 | pom |
spring-boot-starter-data-solr | 使用Apache solr搜索平台 和 spring data solr | pom |
spring-boot-starter-freemarker | 使用freemarker 视图创建mvc web应用程序 | pom |
spring-boot-starter-groovy-templates | 使用groovy templates视图创建mvc web 应用程序 | pom |
spring-boot-starter-hateoas | 使用Spring MVC和Spring HATEOAS构建基于超媒体的RESTful Web应用程序 | pom |
spring-boot-starter-integration | 使用spring integration | pom |
spring-boot-starter-jdbc | 使用带有HikariCP 连接池的 JDBC | pom |
spring-boot-starter-jersey | 使用JAX-RS和Jersey构建RESTFUL WEB 应用程序。spring-boot-starter-web的替代方法 | pom |
spring-boot-starter-jooq | 使用jooq访问sql输入库。spring-boot-starter-data-jpa或者spring-boot-starter-jdbc的替代方法 | pom |
spring-boot-starter-json | 读写json数据 | pom |
spring-boot-starter-jta-atomikos | 使用atomikos的JTA transactions | pom |
spring-boot-starter-jta-bitronix | 使用bitronix的JTA transactions | pom |
spring-boot-starter-mail | 使用java mail 和 spring framework的email发送支持 | pom |
spring-boot-starter-mustache | 使用mustache视图构建web应用程序 | pom |
spring-boot-starter-oauth2-client | 使用Spring Security的OAuth2 / OpenID Connect客户端功能 | pom |
spring-boot-starter-oauth2-resource-server | 使用Spring Security的OAuth2资源服务器功能 | pom |
spring-boot-starter-quartz | 使用quartz任务 | pom |
spring-boot-starter-rsocket | 构建RSocket客户端和服务 | pom |
spring-boot-starter-security | 使用spring security | pom |
spring-boot-starter-test | 用于使用包括JUnit,Hamcrest和Mockito在内的库测试Spring Boot应用程序 | pom |
spring-boot-starter-thymeleaf | 使用thymeleaf视图构建mvc web应用程序 | pom |
spring-boot-starter-validation | 通过Hibernate validator使用java bean验证 | pom |
spring-boot-starter-web-services | 使用spring web services | pom |
spring-boot-starter-webflux | 使用spring framework的 reactive web支持 构建webflux应用程序 | pom |
spring-boot-starter-websocker | 使用spring framework的websock支持构建websocket 应用程序 | pom |
spring boot 生产starter
名称 | 描述 | pom |
---|---|---|
spring-boot-starter-actuator | 使用Spring Boot的Actuator,它提供了生产就绪功能,可帮助您监视和管理应用程序 | pom |
spring boot 技术starter
名称 | 描述 | pom |
---|---|---|
spring-boot-starter-jetty | 使用jetty作为嵌入式servlet容器,spring-boot-starter-tomcat的替代品 | pom |
spring-boot-starter-log4j2 | 使用Log4j2进行日志记录。 spring-boot-starter-logging的替代方法 | pom |
spring-boot-starter-logging | 使用Logback进行日志记录。 默认日志记录 | pom |
spring-boot-starter-reactor-netty | 使用Reactor Netty作为嵌入式反应式HTTP服务器。 | pom |
spring-boot-starter-tomcat | 用于将Tomcat用作嵌入式servlet容器。 spring-boot-starter-web使用的默认servlet容器 | pom |
spring-boot-starter-undertow | 使用Undertow作为嵌入式servlet容器。 spring-boot-starter-tomcat的替代品 | pom |