<kbd id="afajh"><form id="afajh"></form></kbd>
<strong id="afajh"><dl id="afajh"></dl></strong>
    <del id="afajh"><form id="afajh"></form></del>
        1. <th id="afajh"><progress id="afajh"></progress></th>
          <b id="afajh"><abbr id="afajh"></abbr></b>
          <th id="afajh"><progress id="afajh"></progress></th>

          你還不知道SpringBoot這些Starter?

          共 3170字,需瀏覽 7分鐘

           ·

          2020-10-04 21:32

          來源:cnblogs.com/zeussbook/p/11492733.html

          啥是應(yīng)用啟動(dòng)器?spring boot集成了spring的很多模塊,比如tomcat、redis等等。你用spring boot搭建項(xiàng)目,只需要在pom.xml引入相關(guān)的依賴,和在配置文件中簡(jiǎn)單的配置就可以使用相應(yīng)模塊了。非常方便,spring boot集成了哪些啟動(dòng)器呢?

          spring Boot應(yīng)用啟動(dòng)器基本的一共有44種,具體如下:

          1)spring-boot-starter?
          這是Spring Boot的核心啟動(dòng)器,包含了自動(dòng)配置、日志和YAML。

          2)spring-boot-starter-actuator?
          幫助監(jiān)控和管理應(yīng)用。

          3)spring-boot-starter-amqp?
          通過spring-rabbit來支持AMQP協(xié)議(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數(shù)據(jù)庫(kù)。

          7)spring-boot-starter-cache?
          支持Spring的Cache抽象。

          8)spring-boot-starter-cloud-connectors?
          支持Spring Cloud Connectors,簡(jiǎn)化了在像Cloud Foundry或Heroku這樣的云平臺(tái)上連接服務(wù)。

          9)spring-boot-starter-data-elasticsearch?
          支持ElasticSearch搜索和分析引擎,包括spring-data-elasticsearch。

          10)spring-boot-starter-data-gemfire?
          支持GemFire分布式數(shù)據(jù)存儲(chǔ),包括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數(shù)據(jù),包括spring-data-mongodb。

          13)spring-boot-starter-data-rest?
          通過spring-data-rest-webmvc,支持通過REST暴露Spring Data數(shù)據(jù)倉(cāng)庫(kù)。

          14)spring-boot-starter-data-solr?
          支持Apache Solr搜索平臺(tái),包括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服務(wù)。

          18)spring-boot-starter-hornetq?
          通過HornetQ支持JMS。

          19)spring-boot-starter-integration?
          支持通用的spring-integration模塊。

          20)spring-boot-starter-jdbc?
          支持JDBC數(shù)據(jù)庫(kù)。

          21)spring-boot-starter-jersey?
          支持Jersey RESTful Web服務(wù)框架。

          22)spring-boot-starter-jta-atomikos?
          通過Atomikos支持JTA分布式事務(wù)處理。

          23)spring-boot-starter-jta-bitronix?
          通過Bitronix支持JTA分布式事務(wù)處理。

          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鍵值存儲(chǔ)數(shù)據(jù)庫(kù),包括spring-redis。

          28)spring-boot-starter-security?
          支持spring-security。

          29)spring-boot-starter-social-facebook?
          支持spring-social-facebook

          30)spring-boot-starter-social-linkedin?
          支持pring-social-linkedin

          31)spring-boot-starter-social-twitter?
          支持pring-social-twitter

          32)spring-boot-starter-test?
          支持常規(guī)的測(cè)試依賴,包括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開發(fā),包括Tomcat和spring-webmvc。

          36)spring-boot-starter-websocket?
          支持WebSocket開發(fā)。

          37)spring-boot-starter-ws?
          支持Spring Web Services。

          Spring Boot應(yīng)用啟動(dòng)器面向生產(chǎn)環(huán)境的還有2種,具體如下:

          38)spring-boot-starter-actuator?
          增加了面向產(chǎn)品上線相關(guān)的功能,比如測(cè)量和監(jiān)控。

          39)spring-boot-starter-remote-shell?
          增加了遠(yuǎn)程ssh shell的支持。

          最后,Spring Boot應(yīng)用啟動(dòng)器還有一些替換技術(shù)的啟動(dòng)器,具體如下:

          40)spring-boot-starter-jetty?
          引入了Jetty HTTP引擎(用于替換Tomcat)。

          41)spring-boot-starter-log4j?
          支持Log4J日志框架。

          42)spring-boot-starter-logging?
          引入了Spring Boot默認(rèn)的日志框架Logback。

          43)spring-boot-starter-tomcat?
          引入了Spring Boot默認(rèn)的HTTP引擎Tomcat。

          44)spring-boot-starter-undertow?
          引入了Undertow HTTP引擎(用于替換Tomcat)。

          推薦閱讀
          海量交易訂單查詢沒做“重試”,一哥們“喜提”P3故障!
          聰明的項(xiàng)目經(jīng)理,都會(huì)利用周報(bào)讓老板重視你!
          MySQL百萬數(shù)據(jù),你如何用分頁(yè)來查詢數(shù)據(jù)
          你的Redis為什么變慢了?
          瀏覽 28
          點(diǎn)贊
          評(píng)論
          收藏
          分享

          手機(jī)掃一掃分享

          分享
          舉報(bào)
          評(píng)論
          圖片
          表情
          推薦
          點(diǎn)贊
          評(píng)論
          收藏
          分享

          手機(jī)掃一掃分享

          分享
          舉報(bào)
          <kbd id="afajh"><form id="afajh"></form></kbd>
          <strong id="afajh"><dl id="afajh"></dl></strong>
            <del id="afajh"><form id="afajh"></form></del>
                1. <th id="afajh"><progress id="afajh"></progress></th>
                  <b id="afajh"><abbr id="afajh"></abbr></b>
                  <th id="afajh"><progress id="afajh"></progress></th>
                  99无码视频。 | 亚洲污视频在线观看 | 国产黄片一区二区三区 | 看免费毛片!!! | 无码日逼 |