{"id":584,"date":"2023-03-23T21:28:47","date_gmt":"2023-03-23T13:28:47","guid":{"rendered":""},"modified":"2023-03-23T21:28:47","modified_gmt":"2023-03-23T13:28:47","slug":"SpringBoot Starters","status":"publish","type":"post","link":"https:\/\/bianchenghao6.com\/584.html","title":{"rendered":"SpringBoot Starters"},"content":{"rendered":"
\n

SpringBoot Starters<\/h1>\n<\/div>\n
\n Spring Boot <\/strong>\u63d0\u4f9b\u4e86\u8bb8\u591a
\n starters <\/strong>\uff0c\u5141\u8bb8\u6211\u4eec\u5728\u7c7b\u8def\u5f84\u4e2d\u6dfb\u52a0jar\u3002 Spring Boot\u5185\u7f6e\u7684
\n \u5165\u95e8\u7a0b\u5e8f<\/strong>\u4f7f\u5f00\u53d1\u66f4\u52a0\u8f7b\u677e\uff0c\u5feb\u901f\u3002
\n Spring Boot Starters<\/strong>\u662f
\n \u4f9d\u8d56\u9879\u63cf\u8ff0\u7b26<\/strong>\u3002\n<\/div>\n
\n \u5728Spring Boot Framework\u4e2d\uff0c\u6240\u6709\u542f\u52a8\u7a0b\u5e8f\u90fd\u9075\u5faa\u7c7b\u4f3c\u7684\u547d\u540d\u6a21\u5f0f:
\n spring-boot-starter-* <\/strong>\uff0c\u5176\u4e2d
\n * <\/strong>\u8868\u793a\u7279\u5b9a\u7c7b\u578b\u7684\u5e94\u7528\u7a0b\u5e8f\u3002\u4f8b\u5982\uff0c\u5982\u679c\u8981\u4f7f\u7528Spring\u548cJPA\u8fdb\u884c\u6570\u636e\u5e93\u8bbf\u95ee\uff0c\u5219\u9700\u8981\u5728\u6211\u4eec\u7684
\n pom.xml <\/strong>\u6587\u4ef6\u4e2d\u5305\u542b
\n spring-boot-starter-data-jpa <\/strong>\u4f9d\u8d56\u9879\n<\/div>\n

\u7b2c\u4e09\u65b9Starters <\/h2>\n
\n \u6211\u4eec\u8fd8\u53ef\u4ee5\u5728\u9879\u76ee\u4e2d\u6dfb\u52a0
\n \u7b2c\u4e09\u65b9\u542f\u52a8\u7a0b\u5e8f<\/strong>\u3002\u4f46\u662f\u6211\u4eec\u4e0d\u4f7f\u7528
\n spring-boot-starter <\/strong>\u6765\u5305\u542b\u7b2c\u4e09\u65b9\u4f9d\u8d56\u9879\u3002 spring-boot-starter\u4e3a\u5b98\u65b9\u7684Spring Boot\u6784\u4ef6\u4fdd\u7559\u3002\u7b2c\u4e09\u65b9\u542f\u52a8\u7a0b\u5e8f\u4ee5\u9879\u76ee\u540d\u79f0\u5f00\u5934\u3002\u4f8b\u5982\uff0c\u7b2c\u4e09\u65b9\u9879\u76ee\u540d\u79f0\u4e3a
\n abc <\/strong>\uff0c\u90a3\u4e48\u4f9d\u8d56\u9879\u540d\u79f0\u5c06\u4e3a
\n abc-spring-boot-starter\u3002<\/strong>\n<\/div>\n
\n Spring Boot Framework\u5728
\n org.springframework.boot <\/strong>\u7ec4\u4e0b\u63d0\u4f9b\u4e86\u4ee5\u4e0b\u5e94\u7528\u7a0b\u5e8f\u542f\u52a8\u5668\u3002\n<\/div>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
\u540d\u79f0<\/td>\n\u8bf4\u660e<\/td>\n<\/tr>\n
spring-boot-starter-thymeleaf <\/td>\n\u5b83\u7528\u4e8e\u4f7f\u7528Thymeleaf\u89c6\u56fe\u6784\u5efaMVC Web\u5e94\u7528\u7a0b\u5e8f\u3002<\/td>\n<\/tr>\n
spring-boot-starter-data-couchbase <\/td>\n\u5b83\u7528\u4e8eCouchbase\u9762\u5411\u6587\u6863\u7684\u6570\u636e\u5e93\u548cSpring Data Couchbase\u3002<\/td>\n<\/tr>\n
spring-boot-starter-artemis <\/td>\n\u5b83\u7528\u4e8e\u4f7f\u7528Apache Artemis\u8fdb\u884cJMS\u6d88\u606f\u4f20\u9012\u3002<\/td>\n<\/tr>\n
spring-boot-starter-web-services <\/td>\n\u5b83\u7528\u4e8eSpring Web Services\u3002<\/td>\n<\/tr>\n
spring-boot-starter-mail <\/td>\n\u5b83\u7528\u4e8e\u652f\u6301Java Mail\u548cSpring Framework\u7684\u7535\u5b50\u90ae\u4ef6\u53d1\u9001\u3002<\/td>\n<\/tr>\n
spring-boot-starter-data-redis <\/td>\n\u7528\u4e8eSpring Data Redis\u548cJedis\u5ba2\u6237\u7aef\u7684Redis\u952e\u503c\u6570\u636e\u5b58\u50a8\u3002<\/td>\n<\/tr>\n
spring-boot-starter-web <\/td>\n\u5b83\u7528\u4e8e\u6784\u5efaWeb\u5e94\u7528\u7a0b\u5e8f\uff0c\u5305\u62ec\u4f7f\u7528Spring MVC\u7684RESTful\u5e94\u7528\u7a0b\u5e8f\u3002\u5b83\u4f7f\u7528Tomcat\u4f5c\u4e3a\u9ed8\u8ba4\u7684\u5d4c\u5165\u5f0f\u5bb9\u5668\u3002<\/td>\n<\/tr>\n
spring-boot-starter-data-gemfire <\/td>\n\u5b83\u7528\u4e8eGemFire\u5206\u5e03\u5f0f\u6570\u636e\u5b58\u50a8\u548cSpring Data GemFire\u3002<\/td>\n<\/tr>\n
spring-boot-starter-activemq <\/td>\n\u5b83\u7528\u4e8e\u4f7f\u7528Apache ActiveMQ\u7684JMS\u6d88\u606f\u4f20\u9012\u4e2d\u3002<\/td>\n<\/tr>\n
spring-boot-starter-data-elasticsearch <\/td>\n\u5b83\u7528\u4e8eElasticsearch\u641c\u7d22\u548c\u5206\u6790\u5f15\u64ce\u4ee5\u53caSpring Data Elasticsearch\u3002<\/td>\n<\/tr>\n
spring-boot-starter-integration <\/td>\n\u5b83\u7528\u4e8eSpring\u96c6\u6210\u3002<\/td>\n<\/tr>\n
spring-boot-starter-test <\/td>\n\u5b83\u7528\u4e8e\u6d4b\u8bd5\u5e26\u6709JUnit\uff0cHamcrest\u548cMockito\u7b49\u5e93\u7684Spring Boot\u5e94\u7528\u7a0b\u5e8f\u3002<\/td>\n<\/tr>\n
spring-boot-starter-jdbc <\/td>\n\u5b83\u7528\u4e8e\u5177\u6709Tomcat JDBC\u8fde\u63a5\u6c60\u7684JDBC\u3002<\/td>\n<\/tr>\n
spring-boot-starter-mobile <\/td>\n\u5b83\u7528\u4e8e\u4f7f\u7528Spring Mobile\u6784\u5efaWeb\u5e94\u7528\u7a0b\u5e8f\u3002<\/td>\n<\/tr>\n
spring-boot-starter-validation <\/td>\n\u5b83\u7528\u4e8e\u901a\u8fc7Hibernate Validator\u8fdb\u884cJava Bean\u9a8c\u8bc1\u3002<\/td>\n<\/tr>\n
spring-boot-starter-hateoas <\/td>\n\u5b83\u7528\u4e8e\u901a\u8fc7Spring MVC\u548cSpring HATEOAS\u6784\u5efa\u57fa\u4e8e\u8d85\u5a92\u4f53\u7684RESTful Web\u5e94\u7528\u7a0b\u5e8f\u3002<\/td>\n<\/tr>\n
spring-boot-starter-jersey <\/td>\n\u5b83\u7528\u4e8e\u4f7f\u7528JAX-RS\u548cJersey\u6784\u5efaRESTful Web\u5e94\u7528\u7a0b\u5e8f\u3002\u66ff\u4ee3spring-boot-starter-web\u3002<\/td>\n<\/tr>\n
spring-boot-starter-data-neo4j <\/td>\n\u7528\u4e8eNeo4j\u56fe\u5f62\u6570\u636e\u5e93\u548cSpring Data Neo4j\u3002<\/td>\n<\/tr>\n
spring-boot-starter-data-ldap <\/td>\n\u5b83\u7528\u4e8eSpring Data LDAP\u3002<\/td>\n<\/tr>\n
spring-boot-starter-websocket <\/td>\n\u5b83\u7528\u4e8e\u6784\u5efaWebSocket\u5e94\u7528\u7a0b\u5e8f\u3002\u5b83\u4f7f\u7528Spring Framework\u7684WebSocket\u652f\u6301\u3002<\/td>\n<\/tr>\n
spring-boot-starter-aop <\/td>\n\u5b83\u7528\u4e8e\u4f7f\u7528Spring AOP\u548cAspectJ\u8fdb\u884c\u9762\u5411\u65b9\u9762\u7684\u7f16\u7a0b\u3002<\/td>\n<\/tr>\n
spring-boot-starter-amqp <\/td>\n\u5b83\u7528\u4e8eSpring AMQP\u548cRabbit MQ\u3002<\/td>\n<\/tr>\n
spring-boot-starter-data-cassandra <\/td>\n\u7528\u4e8eCassandra\u5206\u5e03\u5f0f\u6570\u636e\u5e93\u548cSpring Data Cassandra\u3002<\/td>\n<\/tr>\n
spring-boot-starter-social-facebook <\/td>\n\u5b83\u7528\u4e8eSpring Social Facebook\u3002<\/td>\n<\/tr>\n
spring-boot-starter-jta-atomikos <\/td>\n\u5b83\u7528\u4e8e\u4f7f\u7528Atomikos\u8fdb\u884cJTA\u4ea4\u6613\u3002<\/td>\n<\/tr>\n
spring-boot-starter-security <\/td>\n\u5b83\u7528\u4e8eSpring Security\u3002<\/td>\n<\/tr>\n
spring-boot-starter-mustache <\/td>\n\u5b83\u7528\u4e8e\u4f7f\u7528Mustache\u89c6\u56fe\u6784\u5efaMVC Web\u5e94\u7528\u7a0b\u5e8f\u3002<\/td>\n<\/tr>\n
spring-boot-starter-data-jpa <\/td>\n\u5b83\u7528\u4e8e\u5e26\u6709Hibernate\u7684Spring Data JPA\u3002<\/td>\n<\/tr>\n
spring-boot-starter <\/td>\n\u5b83\u7528\u4e8e\u6838\u5fc3\u542f\u52a8\u5668\uff0c\u5305\u62ec\u81ea\u52a8\u914d\u7f6e\u652f\u6301\uff0c\u65e5\u5fd7\u8bb0\u5f55\u548cYAML\u3002<\/td>\n<\/tr>\n
spring-boot-starter-groovy-templates <\/td>\n\u5b83\u7528\u4e8e\u4f7f\u7528Groovy\u6a21\u677f\u89c6\u56fe\u6784\u5efaMVC Web\u5e94\u7528\u7a0b\u5e8f\u3002<\/td>\n<\/tr>\n
spring-boot-starter-freemarker <\/td>\n\u5b83\u7528\u4e8e\u4f7f\u7528FreeMarker\u89c6\u56fe\u6784\u5efaMVC Web\u5e94\u7528\u7a0b\u5e8f\u3002<\/td>\n<\/tr>\n
spring-boot-starter-batch <\/td>\n\u5b83\u7528\u4e8eSpring Batch\u3002<\/td>\n<\/tr>\n
spring-boot-starter-social-linkedin <\/td>\n\u5b83\u7528\u4e8eSpring Social LinkedIn\u3002<\/td>\n<\/tr>\n
spring-boot-starter-cache <\/td>\n\u5b83\u7528\u4e8eSpring\u6846\u67b6\u7684\u7f13\u5b58\u652f\u6301\u3002<\/td>\n<\/tr>\n
spring-boot-starter-data-solr <\/td>\n\u5b83\u7528\u4e8e\u5e26\u6709Spring Data Solr\u7684Apache Solr\u641c\u7d22\u5e73\u53f0\u3002<\/td>\n<\/tr>\n
spring-boot-starter-data-mongodb <\/td>\n\u5b83\u7528\u4e8eMongoDB\u9762\u5411\u6587\u6863\u7684\u6570\u636e\u5e93\u548cSpring Data MongoDB\u3002<\/td>\n<\/tr>\n
spring-boot-starter-jooq <\/td>\n\u5b83\u7528\u4e8ejOOQ\u8bbf\u95eeSQL\u6570\u636e\u5e93\u3002\u66ff\u4ee3spring-boot-starter-data-jpa\u6216spring-boot-starter-jdbc\u3002<\/td>\n<\/tr>\n
spring-boot-starter-jta-narayana <\/td>\n\u5b83\u7528\u4e8eSpring Boot Narayana JTA Starter\u3002<\/td>\n<\/tr>\n
spring-boot-starter-cloud-connectors <\/td>\n\u7528\u4e8eSpring Cloud Connector\uff0c\u53ef\u7b80\u5316\u4e0eCloud Foundry\u548cHeroku\u7b49\u4e91\u5e73\u53f0\u4e2d\u670d\u52a1\u7684\u8fde\u63a5\u3002<\/td>\n<\/tr>\n
spring-boot-starter-jta-bitronix <\/td>\n\u5b83\u7528\u4e8e\u4f7f\u7528Bitronix\u7684JTA\u4ea4\u6613\u3002<\/td>\n<\/tr>\n
spring-boot-starter-social-twitter <\/td>\n\u5b83\u7528\u4e8eSpring Social Twitter\u3002<\/td>\n<\/tr>\n
spring-boot-starter-data-rest <\/td>\n\u5b83\u7528\u4e8e\u4f7f\u7528Spring Data REST\u5728REST\u4e0a\u516c\u5f00Spring Data\u5b58\u50a8\u5e93\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

Spring Boot\u751f\u4ea7\u5165\u95e8\u7248<\/h2>\n\n\n\n\n\n
\u540d\u79f0<\/td>\n\u8bf4\u660e<\/td>\n<\/tr>\n
spring-boot-starter-actuator <\/td>\n\u5b83\u7528\u4e8eSpring Boot\u7684Actuator\uff0c\u63d0\u4f9b\u4e86\u751f\u4ea7\u5c31\u7eea\u529f\u80fd\uff0c\u53ef\u5e2e\u52a9\u60a8\u76d1\u89c6\u548c\u7ba1\u7406\u5e94\u7528\u7a0b\u5e8f\u3002<\/td>\n<\/tr>\n
spring-boot-starter-remote-shell <\/td>\n\u5b83\u7528\u4e8eCRaSH\u8fdc\u7a0bshell\u901a\u8fc7SSH\u76d1\u89c6\u548c\u7ba1\u7406\u60a8\u7684\u5e94\u7528\u7a0b\u5e8f\u3002\u4ece1.5\u5f00\u59cb\u4e0d\u63a8\u8350\u4f7f\u7528\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

Spring Boot\u6280\u672f\u5165\u95e8<\/h2>\n\n\n\n\n\n\n\n\n
\u540d\u79f0<\/td>\n\u8bf4\u660e<\/td>\n<\/tr>\n
spring-boot-starter-undertow <\/td>\n\u7528\u4e8eUndertow\uff0c\u4f5c\u4e3a\u5d4c\u5165\u5f0fservlet\u5bb9\u5668\u3002\u66ff\u4ee3spring-boot-starter-tomcat\u3002<\/td>\n<\/tr>\n
spring-boot-starter-jetty <\/td>\n\u5b83\u7528\u4e8eJetty\u4f5c\u4e3a\u5d4c\u5165\u5f0fservlet\u5bb9\u5668\u3002\u66ff\u4ee3spring-boot-starter-tomcat\u3002<\/td>\n<\/tr>\n
spring-boot-starter-logging <\/td>\n\u5b83\u7528\u4e8e\u4f7f\u7528Logback\u8fdb\u884c\u65e5\u5fd7\u8bb0\u5f55\u3002\u9ed8\u8ba4\u7684\u65e5\u5fd7\u542f\u52a8\u5668\u3002<\/td>\n<\/tr>\n
spring-boot-starter-tomcat <\/td>\n\u5b83\u7528\u4e8eTomcat\uff0c\u4f5c\u4e3a\u5d4c\u5165\u5f0fservlet\u5bb9\u5668\u3002 spring-boot-starter-web\u4f7f\u7528\u7684\u9ed8\u8ba4servlet\u5bb9\u5668\u542f\u52a8\u5668\u3002<\/td>\n<\/tr>\n
spring-boot-starter-log4j2 <\/td>\n\u7528\u4e8eLog4j2\u8fdb\u884c\u65e5\u5fd7\u8bb0\u5f55\u3002\u66ff\u4ee3spring-boot-starter-logging\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n
\n
\n SpringBoot Starter Parent
\n SpringBoot Starter Web
\n SpringBoot Starter Data JPA
\n SpringBoot Starter Actuator
\n SpringBoot Starter Test\n<\/div>\n","protected":false},"excerpt":{"rendered":"SpringBoot Starterszh-cn","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[104],"tags":[],"class_list":["post-584","post","type-post","status-publish","format-standard","hentry","category-bc_springboot_jc"],"_links":{"self":[{"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/posts\/584"}],"collection":[{"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/comments?post=584"}],"version-history":[{"count":0,"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/posts\/584\/revisions"}],"wp:attachment":[{"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/media?parent=584"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/categories?post=584"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/tags?post=584"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}