{"id":8611,"date":"2023-11-28T20:32:42","date_gmt":"2023-11-28T12:32:42","guid":{"rendered":"https:\/\/wx.kaifamiao.info\/?p=8611"},"modified":"2023-12-06T10:51:03","modified_gmt":"2023-12-06T02:51:03","slug":"springboot-xu-yao-du-li-de-rong-qi-yun-xing-ma","status":"publish","type":"post","link":"http:\/\/wx.kaifamiao.info\/index.php\/2023\/11\/28\/springboot-xu-yao-du-li-de-rong-qi-yun-xing-ma\/","title":{"rendered":"SpringBoot\u9700\u8981\u72ec\u7acb\u7684\u5bb9\u5668\u8fd0\u884c\u5417\uff1f"},"content":{"rendered":"<p>Spring Boot \u5e94\u7528\u7a0b\u5e8f\u5e76\u4e0d\u9700\u8981\u72ec\u7acb\u7684\u5916\u90e8\u5bb9\u5668\u6765\u8fd0\u884c\u3002Spring Boot \u63d0\u4f9b\u4e86\u5d4c\u5165\u5f0f\u7684 Servlet \u5bb9\u5668\uff0c\u4f8b\u5982 Tomcat\u3001Jetty \u548c Undertow\uff0c\u8fd9\u4f7f\u5f97\u5e94\u7528\u7a0b\u5e8f\u80fd\u591f\u4f5c\u4e3a\u4e00\u4e2a\u72ec\u7acb\u7684\u53ef\u6267\u884c JAR \u6587\u4ef6\u8fd0\u884c\u3002<\/p>\n<p>\u901a\u8fc7\u4f7f\u7528\u5d4c\u5165\u5f0f\u5bb9\u5668\uff0cSpring Boot \u5e94\u7528\u7a0b\u5e8f\u53d8\u5f97\u66f4\u52a0\u8f7b\u4fbf\u548c\u81ea\u5305\u542b\u3002\u5f00\u53d1\u8005\u65e0\u9700\u624b\u52a8\u914d\u7f6e\u6216\u90e8\u7f72\u5916\u90e8\u5bb9\u5668\uff0c\u53ea\u9700\u4f7f\u7528 Maven \u6216 Gradle \u6784\u5efa\u53ef\u6267\u884c\u7684 JAR \u6587\u4ef6\uff0c\u7136\u540e\u901a\u8fc7\u547d\u4ee4\u884c\u6216\u811a\u672c\u8fd0\u884c\u5373\u53ef\u3002<\/p>\n<p>\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5173\u4e8e Spring Boot \u5d4c\u5165\u5f0f\u5bb9\u5668\u7684\u7279\u70b9\u548c\u4f18\u52bf\uff1a<\/p>\n<ol>\n<li>\n<strong>\u81ea\u5305\u542b\u6027\uff1a<\/strong><\/p>\n<ul>\n<li>Spring Boot \u7684\u53ef\u6267\u884c JAR \u6587\u4ef6\u5305\u542b\u4e86\u5e94\u7528\u7a0b\u5e8f\u7684\u6240\u6709\u4f9d\u8d56\u548c\u5d4c\u5165\u5f0f\u5bb9\u5668\uff0c\u4f7f\u5f97\u5e94\u7528\u7a0b\u5e8f\u975e\u5e38\u81ea\u5305\u542b\u3002\u8fd9\u6837\u7684\u8bbe\u8ba1\u65b9\u4fbf\u5e94\u7528\u7a0b\u5e8f\u7684\u5206\u53d1\u548c\u90e8\u7f72\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<strong>\u65e0\u9700\u5916\u90e8\u5bb9\u5668\uff1a<\/strong><\/p>\n<ul>\n<li>\u7531\u4e8e\u5d4c\u5165\u5f0f\u5bb9\u5668\u5df2\u7ecf\u5305\u542b\u5728\u5e94\u7528\u7a0b\u5e8f\u4e2d\uff0c\u65e0\u9700\u989d\u5916\u5b89\u88c5\u548c\u914d\u7f6e\u5916\u90e8 Servlet \u5bb9\u5668\u3002\u8fd9\u7b80\u5316\u4e86\u90e8\u7f72\u548c\u7ef4\u62a4\u7684\u8fc7\u7a0b\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<strong>\u7b80\u5355\u7684\u90e8\u7f72\uff1a<\/strong><\/p>\n<ul>\n<li>\u4f7f\u7528\u5d4c\u5165\u5f0f\u5bb9\u5668\uff0c\u53ea\u9700\u901a\u8fc7\u547d\u4ee4\u884c\u6216\u811a\u672c\u8fd0\u884c JAR \u6587\u4ef6\u5373\u53ef\u542f\u52a8\u5e94\u7528\u7a0b\u5e8f\u3002\u8fd9\u6837\u7684\u90e8\u7f72\u65b9\u5f0f\u975e\u5e38\u7b80\u5355\uff0c\u800c\u4e14\u4e0d\u6d89\u53ca\u5bf9\u5916\u90e8\u5bb9\u5668\u7684\u914d\u7f6e\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<strong>\u6613\u4e8e\u96c6\u6210\u548c\u5f00\u53d1\uff1a<\/strong><\/p>\n<ul>\n<li>\u7531\u4e8e\u5e94\u7528\u7a0b\u5e8f\u4e0e\u5bb9\u5668\u96c6\u6210\u7d27\u5bc6\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u4e13\u6ce8\u4e8e\u5e94\u7528\u7a0b\u5e8f\u7684\u5f00\u53d1\uff0c\u800c\u65e0\u9700\u62c5\u5fc3\u4e0e\u5bb9\u5668\u7684\u96c6\u6210\u95ee\u9898\u3002\u8fd9\u7b80\u5316\u4e86\u5f00\u53d1\u8fc7\u7a0b\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<strong>\u652f\u6301\u591a\u79cd\u5d4c\u5165\u5f0f\u5bb9\u5668\uff1a<\/strong><\/p>\n<ul>\n<li>Spring Boot \u652f\u6301\u591a\u79cd\u5d4c\u5165\u5f0f Servlet \u5bb9\u5668\uff0c\u5305\u62ec Tomcat\u3001Jetty \u548c Undertow\u3002\u4f60\u53ef\u4ee5\u6839\u636e\u9879\u76ee\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u5d4c\u5165\u5f0f\u5bb9\u5668\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p>\u867d\u7136 Spring Boot \u7684\u5d4c\u5165\u5f0f\u5bb9\u5668\u9002\u7528\u4e8e\u8bb8\u591a\u573a\u666f\uff0c\u4f46\u5728\u67d0\u4e9b\u7279\u6b8a\u60c5\u51b5\u4e0b\uff0c\u4f60\u53ef\u80fd\u4ecd\u7136\u9700\u8981\u5c06\u5e94\u7528\u7a0b\u5e8f\u90e8\u7f72\u5230\u72ec\u7acb\u7684\u5916\u90e8\u5bb9\u5668\u4e2d\u3002\u8fd9\u901a\u5e38\u6d89\u53ca\u5230\u4e00\u4e9b\u7279\u6b8a\u7684\u8981\u6c42\uff0c\u4f8b\u5982\u9700\u8981\u4e0e\u5176\u4ed6\u670d\u52a1\u4e00\u8d77\u8fd0\u884c\u3001\u9700\u8981\u7279\u5b9a\u7684\u5bb9\u5668\u914d\u7f6e\u7b49\u3002\u7136\u800c\uff0c\u5bf9\u4e8e\u5927\u591a\u6570\u5e94\u7528\u7a0b\u5e8f\uff0c\u5d4c\u5165\u5f0f\u5bb9\u5668\u662f\u4e00\u79cd\u65b9\u4fbf\u548c\u9ad8\u6548\u7684\u90e8\u7f72\u65b9\u5f0f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Spring Boot \u5e94\u7528\u7a0b\u5e8f\u5e76\u4e0d\u9700\u8981\u72ec\u7acb\u7684\u5916\u90e8\u5bb9\u5668\u6765\u8fd0\u884c\u3002Spring Boot \u63d0\u4f9b\u4e86\u5d4c\u5165\u5f0f\u7684 Serv [&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-8611","post","type-post","status-publish","format-standard","hentry","category-springboot"],"_links":{"self":[{"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/posts\/8611","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=8611"}],"version-history":[{"count":2,"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/posts\/8611\/revisions"}],"predecessor-version":[{"id":16640,"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/posts\/8611\/revisions\/16640"}],"wp:attachment":[{"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/media?parent=8611"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/categories?post=8611"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/tags?post=8611"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}