{"id":8040,"date":"2023-11-28T20:12:04","date_gmt":"2023-11-28T12:12:04","guid":{"rendered":"https:\/\/wx.kaifamiao.info\/?p=8040"},"modified":"2023-12-05T16:06:49","modified_gmt":"2023-12-05T08:06:49","slug":"springboot-yu-springcloud-qu-bie","status":"publish","type":"post","link":"http:\/\/wx.kaifamiao.info\/index.php\/2023\/11\/28\/springboot-yu-springcloud-qu-bie\/","title":{"rendered":"SpringBoot \u4e0e SpringCloud \u533a\u522b\uff1f"},"content":{"rendered":"<p>Spring Boot \u548c Spring Cloud \u662f Spring \u751f\u6001\u7cfb\u7edf\u4e2d\u7684\u4e24\u4e2a\u4e0d\u540c\u7684\u9879\u76ee\uff0c\u5404\u81ea\u89e3\u51b3\u4e86\u4e0d\u540c\u5c42\u9762\u7684\u95ee\u9898\u3002<\/p>\n<h3><a id=\"spring-boot%EF%BC%9A\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a>Spring Boot\uff1a<\/h3>\n<ol>\n<li>\n<strong>\u7528\u9014\uff1a<\/strong><\/p>\n<ul>\n<li>Spring Boot \u662f\u4e00\u4e2a\u7528\u4e8e\u5feb\u901f\u6784\u5efa\u5355\u4f53\u5e94\u7528\u7a0b\u5e8f\u7684\u6846\u67b6\u3002\u5b83\u7b80\u5316\u4e86 Spring \u5e94\u7528\u7a0b\u5e8f\u7684\u5f00\u53d1\u548c\u90e8\u7f72\uff0c\u63d0\u4f9b\u4e86\u9ed8\u8ba4\u7684\u914d\u7f6e\uff0c\u4f7f\u5f97\u5f00\u53d1\u8005\u53ef\u4ee5\u66f4\u4e13\u6ce8\u4e8e\u4e1a\u52a1\u903b\u8f91\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<strong>\u7279\u70b9\uff1a<\/strong><\/p>\n<ul>\n<li>\u7b80\u5316\u914d\u7f6e\uff1aSpring Boot \u63d0\u4f9b\u4e86\u4e00\u5957\u9ed8\u8ba4\u7684\u914d\u7f6e\uff0c\u8ba9\u5f00\u53d1\u8005\u65e0\u9700\u624b\u52a8\u914d\u7f6e\u5927\u91cf\u7684 Spring \u7ec4\u4ef6\u3002<\/li>\n<li>\u5feb\u901f\u542f\u52a8\uff1aSpring Boot \u5305\u542b\u4e86\u5d4c\u5165\u5f0f\u7684 Servlet \u5bb9\u5668\uff0c\u53ef\u4ee5\u76f4\u63a5\u6253\u5305\u6210\u53ef\u6267\u884c\u7684 JAR \u6587\u4ef6\uff0c\u65b9\u4fbf\u90e8\u7f72\u548c\u8fd0\u884c\u3002<\/li>\n<li>\u5fae\u670d\u52a1\u652f\u6301\uff1a\u867d\u7136 Spring Boot \u53ef\u4ee5\u7528\u4e8e\u6784\u5efa\u5355\u4f53\u5e94\u7528\uff0c\u4f46\u4e5f\u63d0\u4f9b\u4e86\u652f\u6301\u6784\u5efa\u5fae\u670d\u52a1\u67b6\u6784\u7684\u7279\u6027\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<strong>\u4e3b\u8981\u7ec4\u4ef6\uff1a<\/strong><\/p>\n<ul>\n<li>Spring Boot \u4e3b\u8981\u5305\u542b\u4e86 Spring Framework \u7684\u6838\u5fc3\u7ec4\u4ef6\uff0c\u5982 Spring MVC\u3001Spring Data\u3001Spring Security \u7b49\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<h3><a id=\"spring-cloud%EF%BC%9A\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a>Spring Cloud\uff1a<\/h3>\n<ol>\n<li>\n<strong>\u7528\u9014\uff1a<\/strong><\/p>\n<ul>\n<li>Spring Cloud \u662f\u7528\u4e8e\u6784\u5efa\u5206\u5e03\u5f0f\u7cfb\u7edf\u548c\u5fae\u670d\u52a1\u67b6\u6784\u7684\u5de5\u5177\u96c6\u3002\u5b83\u63d0\u4f9b\u4e86\u4e00\u7cfb\u5217\u7684\u7ec4\u4ef6\uff0c\u7528\u4e8e\u89e3\u51b3\u5fae\u670d\u52a1\u67b6\u6784\u4e2d\u7684\u5206\u5e03\u5f0f\u914d\u7f6e\u3001\u670d\u52a1\u53d1\u73b0\u3001\u8d1f\u8f7d\u5747\u8861\u3001\u65ad\u8def\u5668\u3001\u6d88\u606f\u603b\u7ebf\u7b49\u95ee\u9898\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<strong>\u7279\u70b9\uff1a<\/strong><\/p>\n<ul>\n<li>\u5fae\u670d\u52a1\u652f\u6301\uff1aSpring Cloud \u63d0\u4f9b\u4e86\u4e00\u7cfb\u5217\u5de5\u5177\u548c\u6846\u67b6\uff0c\u5e2e\u52a9\u5f00\u53d1\u8005\u6784\u5efa\u548c\u7ba1\u7406\u5206\u5e03\u5f0f\u7cfb\u7edf\u548c\u5fae\u670d\u52a1\u3002<\/li>\n<li>\u914d\u7f6e\u4e2d\u5fc3\uff1aSpring Cloud Config \u63d0\u4f9b\u4e86\u5206\u5e03\u5f0f\u7cfb\u7edf\u7684\u5916\u90e8\u914d\u7f6e\u7ba1\u7406\u3002<\/li>\n<li>\u670d\u52a1\u6ce8\u518c\u4e0e\u53d1\u73b0\uff1aSpring Cloud Netflix Eureka \u63d0\u4f9b\u4e86\u670d\u52a1\u6ce8\u518c\u4e0e\u53d1\u73b0\u7684\u529f\u80fd\u3002<\/li>\n<li>\u8d1f\u8f7d\u5747\u8861\uff1aSpring Cloud Netflix Ribbon \u63d0\u4f9b\u4e86\u5ba2\u6237\u7aef\u8d1f\u8f7d\u5747\u8861\u7684\u652f\u6301\u3002<\/li>\n<li>\u65ad\u8def\u5668\uff1aSpring Cloud Netflix Hystrix \u63d0\u4f9b\u4e86\u65ad\u8def\u5668\u6a21\u5f0f\u7684\u5b9e\u73b0\uff0c\u9632\u6b62\u5206\u5e03\u5f0f\u7cfb\u7edf\u4e2d\u7684\u6545\u969c\u8513\u5ef6\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<strong>\u4e3b\u8981\u7ec4\u4ef6\uff1a<\/strong><\/p>\n<ul>\n<li>Spring Cloud \u4e3b\u8981\u5305\u542b\u4e86\u4e00\u7cfb\u5217\u4e0e\u5fae\u670d\u52a1\u76f8\u5173\u7684\u7ec4\u4ef6\uff0c\u5982\u670d\u52a1\u6ce8\u518c\u4e2d\u5fc3\uff08Eureka\uff09\u3001\u914d\u7f6e\u4e2d\u5fc3\uff08Config\uff09\u3001\u65ad\u8def\u5668\uff08Hystrix\uff09\u3001\u670d\u52a1\u7f51\u5173\uff08Zuul\uff09\u7b49\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<h3><a id=\"%E5%85%B3%E7%B3%BB%E5%92%8C%E6%95%B4%E5%90%88%EF%BC%9A\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a>\u5173\u7cfb\u548c\u6574\u5408\uff1a<\/h3>\n<ul>\n<li>Spring Boot \u548c Spring Cloud \u5e76\u4e0d\u662f\u76f8\u4e92\u72ec\u7acb\u7684\uff0c\u5b83\u4eec\u901a\u5e38\u4f1a\u7ed3\u5408\u4f7f\u7528\u3002Spring Boot \u7528\u4e8e\u6784\u5efa\u5355\u4f53\u5e94\u7528\u6216\u5fae\u670d\u52a1\u4e2d\u7684\u5404\u4e2a\u5fae\u670d\u52a1\u6a21\u5757\uff0c\u800c Spring Cloud \u7528\u4e8e\u63d0\u4f9b\u5206\u5e03\u5f0f\u7cfb\u7edf\u548c\u5fae\u670d\u52a1\u67b6\u6784\u7684\u652f\u6301\u3002<\/li>\n<li>Spring Cloud \u63d0\u4f9b\u4e86\u5bf9\u591a\u4e2a Spring Boot \u5e94\u7528\u7684\u4e00\u4e9b\u5171\u4eab\u670d\u52a1\uff0c\u4f8b\u5982\u670d\u52a1\u6ce8\u518c\u3001\u914d\u7f6e\u7ba1\u7406\u3001\u8d1f\u8f7d\u5747\u8861\u7b49\u3002<\/li>\n<\/ul>\n<p>\u603b\u7684\u6765\u8bf4\uff0cSpring Boot \u4e3b\u8981\u5173\u6ce8\u4e8e\u6784\u5efa\u5355\u4f53\u5e94\u7528\u6216\u5fae\u670d\u52a1\u4e2d\u7684\u5404\u4e2a\u5fae\u670d\u52a1\u6a21\u5757\uff0c\u800c Spring Cloud \u5219\u5173\u6ce8\u4e8e\u63d0\u4f9b\u6784\u5efa\u548c\u7ba1\u7406\u5206\u5e03\u5f0f\u7cfb\u7edf\u548c\u5fae\u670d\u52a1\u7684\u5168\u5957\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Spring Boot \u548c Spring Cloud \u662f Spring \u751f\u6001\u7cfb\u7edf\u4e2d\u7684\u4e24\u4e2a\u4e0d\u540c\u7684\u9879\u76ee\uff0c\u5404\u81ea\u89e3\u51b3\u4e86 [&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-8040","post","type-post","status-publish","format-standard","hentry","category-springboot"],"_links":{"self":[{"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/posts\/8040","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=8040"}],"version-history":[{"count":2,"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/posts\/8040\/revisions"}],"predecessor-version":[{"id":16564,"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/posts\/8040\/revisions\/16564"}],"wp:attachment":[{"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/media?parent=8040"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/categories?post=8040"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/tags?post=8040"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}