{"id":8657,"date":"2023-11-28T20:33:52","date_gmt":"2023-11-28T12:33:52","guid":{"rendered":"https:\/\/wx.kaifamiao.info\/?p=8657"},"modified":"2023-12-06T10:57:09","modified_gmt":"2023-12-06T02:57:09","slug":"springboot-you-na-xie-you-dian-ni-ge-ren-ru-he-li","status":"publish","type":"post","link":"http:\/\/wx.kaifamiao.info\/index.php\/2023\/11\/28\/springboot-you-na-xie-you-dian-ni-ge-ren-ru-he-li\/","title":{"rendered":"SpringBoot\u6709\u54ea\u4e9b\u4f18\u70b9\uff0c\u4f60\u4e2a\u4eba\u5982\u4f55\u7406\u89e3\uff1f"},"content":{"rendered":"<p>Spring Boot \u5177\u6709\u8bb8\u591a\u4f18\u70b9\uff0c\u4ee5\u4e0b\u662f\u5176\u4e2d\u4e00\u4e9b\u4e3b\u8981\u7684\u4f18\u52bf\uff0c\u5e76\u5305\u542b\u4e86\u6211\u4e2a\u4eba\u7684\u7406\u89e3\uff1a<\/p>\n<ol>\n<li>\n<strong>\u7b80\u5316\u914d\u7f6e\uff1a<\/strong><\/p>\n<ul>\n<li>Spring Boot \u4f7f\u7528\u7ea6\u5b9a\u5927\u4e8e\u914d\u7f6e\u7684\u539f\u5219\uff0c\u63d0\u4f9b\u4e86\u9ed8\u8ba4\u7684\u914d\u7f6e\uff0c\u51cf\u5c11\u4e86\u5f00\u53d1\u8005\u624b\u52a8\u914d\u7f6e\u7684\u5de5\u4f5c\u91cf\u3002\u8fd9\u4f7f\u5f97\u5e94\u7528\u7a0b\u5e8f\u80fd\u591f\u96f6\u914d\u7f6e\u6216\u8005\u4ec5\u9700\u5c11\u91cf\u914d\u7f6e\u5c31\u53ef\u4ee5\u542f\u52a8\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<strong>\u5d4c\u5165\u5f0f\u5bb9\u5668\uff1a<\/strong><\/p>\n<ul>\n<li>Spring Boot \u652f\u6301\u5d4c\u5165\u5f0f Servlet \u5bb9\u5668\uff0c\u5982Tomcat\u3001Jetty\u3001Undertow\uff0c\u65e0\u9700\u5916\u90e8\u5bb9\u5668\uff0c\u7b80\u5316\u4e86\u90e8\u7f72\u6d41\u7a0b\u3002\u8fd9\u964d\u4f4e\u4e86\u5e94\u7528\u7a0b\u5e8f\u7684\u590d\u6742\u6027\uff0c\u5e76\u4f7f\u5f97\u5e94\u7528\u7a0b\u5e8f\u66f4\u5bb9\u6613\u5206\u53d1\u548c\u8fd0\u884c\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<strong>\u81ea\u52a8\u914d\u7f6e\uff1a<\/strong><\/p>\n<ul>\n<li>Spring Boot \u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u81ea\u52a8\u914d\u7f6e\u673a\u5236\uff0c\u6839\u636e\u9879\u76ee\u7684\u4f9d\u8d56\u81ea\u52a8\u914d\u7f6e Spring \u4e0a\u4e0b\u6587\u3001\u6570\u636e\u6e90\u3001\u4e8b\u52a1\u7ba1\u7406\u7b49\uff0c\u51cf\u5c11\u4e86\u624b\u52a8\u914d\u7f6e\u7684\u9700\u6c42\u3002\u8fd9\u6709\u52a9\u4e8e\u51cf\u5c11\u4e86\u6837\u677f\u4ee3\u7801\uff0c\u63d0\u9ad8\u4e86\u5f00\u53d1\u6548\u7387\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<strong>\u7ea6\u5b9a\u5927\u4e8e\u914d\u7f6e\uff1a<\/strong><\/p>\n<ul>\n<li>Spring Boot \u9075\u5faa\u201c\u7ea6\u5b9a\u5927\u4e8e\u914d\u7f6e\u201d\u7684\u539f\u5219\uff0c\u63d0\u4f9b\u4e86\u4e00\u81f4\u7684\u9879\u76ee\u7ed3\u6784\u548c\u9ed8\u8ba4\u914d\u7f6e\uff0c\u4f7f\u5f97\u9879\u76ee\u66f4\u52a0\u6807\u51c6\u5316\uff0c\u51cf\u5c11\u4e86\u56e2\u961f\u5185\u90e8\u7684\u6c9f\u901a\u6210\u672c\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<strong>\u5f00\u53d1\u5de5\u5177\u652f\u6301\uff1a<\/strong><\/p>\n<ul>\n<li>Spring Boot \u96c6\u6210\u4e86\u5f3a\u5927\u7684\u5f00\u53d1\u5de5\u5177\uff0c\u5982 Spring Boot CLI\u3001Spring Initializr\uff0c\u80fd\u591f\u5e2e\u52a9\u5f00\u53d1\u8005\u66f4\u8f7b\u677e\u5730\u521b\u5efa\u548c\u7ba1\u7406\u9879\u76ee\u3002\u8fd9\u4e9b\u5de5\u5177\u63d0\u4f9b\u4e86\u5feb\u901f\u6784\u5efa\u548c\u6d4b\u8bd5\u5e94\u7528\u7a0b\u5e8f\u7684\u80fd\u529b\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<strong>\u5f3a\u5927\u7684\u751f\u6001\u7cfb\u7edf\uff1a<\/strong><\/p>\n<ul>\n<li>Spring Boot \u6784\u5efa\u5728\u4e30\u5bcc\u7684 Spring \u751f\u6001\u7cfb\u7edf\u4e4b\u4e0a\uff0c\u62e5\u6709\u5e9e\u5927\u7684\u793e\u533a\u548c\u5f3a\u5927\u7684\u751f\u6001\u7cfb\u7edf\u3002\u5f00\u53d1\u8005\u53ef\u4ee5\u8f7b\u677e\u5730\u96c6\u6210\u5404\u79cd\u6280\u672f\u6808\u548c\u7b2c\u4e09\u65b9\u5e93\uff0c\u63d0\u9ad8\u4e86\u5f00\u53d1\u7684\u7075\u6d3b\u6027\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<strong>\u5fae\u670d\u52a1\u652f\u6301\uff1a<\/strong><\/p>\n<ul>\n<li>Spring Boot \u63d0\u4f9b\u4e86\u5bf9\u5fae\u670d\u52a1\u67b6\u6784\u7684\u826f\u597d\u652f\u6301\uff0c\u4e0e Spring Cloud \u7b49\u76f8\u5173\u9879\u76ee\u76f8\u7ed3\u5408\uff0c\u4f7f\u5f97\u6784\u5efa\u548c\u90e8\u7f72\u5fae\u670d\u52a1\u5e94\u7528\u53d8\u5f97\u66f4\u52a0\u7b80\u4fbf\u3002\u8fd9\u6709\u52a9\u4e8e\u5f00\u53d1\u8005\u66f4\u597d\u5730\u8bbe\u8ba1\u548c\u7ba1\u7406\u5206\u5e03\u5f0f\u7cfb\u7edf\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<strong>\u6ce8\u89e3\u9a71\u52a8\u5f00\u53d1\uff1a<\/strong><\/p>\n<ul>\n<li>Spring Boot \u63d0\u5021\u4f7f\u7528\u6ce8\u89e3\u6765\u8fdb\u884c\u914d\u7f6e\u548c\u5f00\u53d1\uff0c\u5927\u5927\u7b80\u5316\u4e86\u914d\u7f6e\u6587\u4ef6\u548c XML \u6587\u4ef6\u7684\u4f7f\u7528\uff0c\u63d0\u9ad8\u4e86\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u548c\u53ef\u7ef4\u62a4\u6027\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<strong>\u5185\u5d4c\u5f0f\u6570\u636e\u5e93\u652f\u6301\uff1a<\/strong><\/p>\n<ul>\n<li>Spring Boot \u63d0\u4f9b\u4e86\u5bf9\u5185\u5d4c\u5f0f\u6570\u636e\u5e93\u7684\u652f\u6301\uff0c\u5982 H2\u3001HSQLDB\uff0c\u65b9\u4fbf\u4e86\u5feb\u901f\u5f00\u53d1\u548c\u6d4b\u8bd5\u3002\u8fd9\u6837\u65e0\u9700\u5b89\u88c5\u548c\u914d\u7f6e\u5916\u90e8\u6570\u636e\u5e93\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p>\u603b\u7684\u6765\u8bf4\uff0cSpring Boot \u7684\u4f18\u70b9\u5728\u4e8e\u7b80\u5316\u4e86 Spring \u5e94\u7528\u7a0b\u5e8f\u7684\u5f00\u53d1\u3001\u914d\u7f6e\u548c\u90e8\u7f72\uff0c\u63d0\u9ad8\u4e86\u5f00\u53d1\u6548\u7387\uff0c\u964d\u4f4e\u4e86\u5165\u95e8\u95e8\u69db\uff0c\u4f7f\u5f97\u5f00\u53d1\u8005\u80fd\u591f\u66f4\u4e13\u6ce8\u4e8e\u4e1a\u52a1\u903b\u8f91\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Spring Boot \u5177\u6709\u8bb8\u591a\u4f18\u70b9\uff0c\u4ee5\u4e0b\u662f\u5176\u4e2d\u4e00\u4e9b\u4e3b\u8981\u7684\u4f18\u52bf\uff0c\u5e76\u5305\u542b\u4e86\u6211\u4e2a\u4eba\u7684\u7406\u89e3\uff1a \u7b80\u5316\u914d\u7f6e\uff1a Sprin [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[100],"tags":[],"class_list":["post-8657","post","type-post","status-publish","format-standard","hentry","category-springboot"],"_links":{"self":[{"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/posts\/8657","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/comments?post=8657"}],"version-history":[{"count":2,"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/posts\/8657\/revisions"}],"predecessor-version":[{"id":16648,"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/posts\/8657\/revisions\/16648"}],"wp:attachment":[{"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/media?parent=8657"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/categories?post=8657"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/tags?post=8657"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}