轉載:SpringBoot常用應用型Starter種類介紹

常用應用型Starter:應用型Starter、產品級別的Starter、技術型的Starter


應用型Starter:
spring-boot-starter:                                     核心Starter包含auto_configuration、日誌和YAML
spring-boot-starter-activemq:                     使用Apache ActiveMQ來實現JMS(Java消息服務:Java Message Service)的消息通信
spring-boot-starter-amqp:                          使用Spring AMQP 和Rabbit MQ
spring-boot-starter-aop:                             使用Spring AOP和AspectJ來實現AOP功能
spring-boot-starter-artemis:                       使用Apache Artemis來實現JMS的消息通信
spring-boot-starter-batch:                          使用Spring Batch
spring-boot-starter-cache:                         啓用Spring框架的緩存功能
spring-boot-starter-cloud-connectors:       用於簡化連接到雲平臺,如果Cloud Foundry 和 Heroku
spring-boot-starter-data-cassandra:          使用Cassandra(NoSQL數據庫) 和 Spring Data Cassandra
spring-boot-starter-data-cassandra-reactive:使用Cassandra(NoSQL數據庫) 和 Spring Data Cassandra Reactive
spring-boot-starter-data-couchbase:        使用Cassandra 和 Spring Data Cassandra Couchbase
spring-boot-starter-data-elastucsearch:   使用Elasticsearch(es搜索) 和 Spring Data 使用Elasticsearch
spring-boot-starter-data-jpa:                    使用基於Hibernate 的 Spring Data JPA
spring-boot-starter-data-ldap:                  使用Spring Data LDAP(輕量目錄訪問協議)
spring-boot-starter-data-mongodb:          使用MongoDB 和 Spring Data MongoDB
spring-boot-starter-data-mongodb-reactive:使用MongoDB 和 Spring Data MongoDB Reactive
spring-boot-starter-data-neo4j:                使用Neo4j(一個高性能的,NOSQL圖形數據庫) 和 Spring Data Neo4j
spring-boot-starter-data-redis:                 使用Redis 和 Spring Data Redis, 以及Jedis客戶端
spring-boot-starter-data-redis-reactive:   使用Redis 和 Spring Data Redis Reactive,以及Lettuce客戶端
spring-boot-starter-data-rest:                   通過Spring Data REST來呈現Spring Data 倉庫
spring-boot-starter-data-solr:                   通過Spring Data Solr來使用Apache Solr(一個獨立的企業級搜索應用服務器,它對外提供類似於Web-service的API接口)
spring-boot-starter-freemarker:               在MVC應用中使用FreeMarker視圖
spring-boot-starter-groovy-templates:     在MVC應用中使用Groovy Templates視圖
spring-boot-starter-hateoas:                   使用Spring MVC 和 Spring HATEOAS來構建基於Hypermedia的RESTful服務應用
spring-boot-starter-integration:               用於Spring Integration
spring-boot-starter-jdbc:                         使用Tomcat JDBC連接池來使用JDBC
spring-boot-starter-jersey:                      使用JAX-RS和Jersey來構建RESTful服務應用,可以替代spring-boot-starter-web
spring-boot-starter-jooq:                         使用jOOQ來訪問數據庫,可以替代spring-boot-starter-data-jpa 或 spring-boot-starter-data-jdbc
spring-boot-starter-jta-atomikos:           使用Atomikos處理JTA事務
spring-boot-starter-jta-bitronix:              使用Bitronix處理JTA事務
spring-boot-starter-jta-narayana:           使用Narayana處理JTA事務
spring-boot-starter-mail:                        使用Java Mail 和Spring框架的郵件發送支持
spring-boot-starter-mobile:                    使用Spring Mobile來構建Web應用
spring-boot-starter-mustache:               使用Mustache視圖來構建Web應用
spring-boot-starter-quarz:                      使用Quarz
spring-boot-starter-security:                  使用Spring Security
spring-boot-starter-social-facebook:     使用Spring Social Facebook
spring-boot-starter-linkedin:                  使用Spring Social LinkedIn
spring-boot-starter-twitter:                     使用Spring Social Twitter
spring-boot-starter-test:                         使用Junit、Hamcrest和Mockito來進行應用的測試
spring-boot-starter-thymeleaf:               在MVC應用中使用Trymeleaf視圖
spring-boot-starter-validation:               啓用基於Hibernate Validator 的Java Bean Validation功能
spring-boot-starter-web:                       使用Spring MVC來構建RESTful Web應用,並使用Tomcat作爲默認內嵌容器
spring-boot-starter-web-services:        使用Spring Web Services
spring-boot-starter-webflux:                 使用Spring框架的Reactive Web支持來構建WebFlux應用
spring-boot-starter-websocket:            使用Spring框架的WebSocket支持來構建WebSocket應用


產品級別的Starter:
spring-boot-starter-actuator:               使用Spring Boot Actuator來提供產品級別的功能,以便幫助開發人員實現應用的監控和管理


技術型的Starter:
spring-boot-starter-jetty:                     使用Jetty作爲內嵌容器,可以替換spring-boot-starter-tomcat
spring-boot-starter-json:                     用於處理JSON
spring-boot-starter-log4j2:                  使用Log4j2來記錄日誌,可以替換spring-boot-starter-logging
spring-boot-starter-logging:                默認採用Logback來記錄日誌
spring-boot-starter-reactor-netty:       使用Reactor Netty來作爲內嵌的響應式的HTTP服務器
spring-boot-starter-tomcat:                默認使用Tomcat作爲默認內嵌容器
spring-boot-starter-undertow:            使用Undertow作爲內嵌容器,可以替換spring-boot-starter-tomcat

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章