博客
关于我
Spring Cloud 框架 (持续完善中)
阅读量:730 次
发布时间:2019-03-17

本文共 900 字,大约阅读时间需要 3 分钟。

Spring Cloud 是什么?

Spring Cloud 是一套与云计算相关的开发工具套件,主要为构建和管理分布式应用程序提供支持。其核心在于Spring框架,并借助Spring Boot的自动化配置功能,使开发变得更加简便高效。

Spring是什么?

Spring 是一个成熟的Java应用开发框架,专注于实现逆向控制(IOC)和切面编程(AOP)。它集成了JDBC、ORM等常用功能,为开发人员提供了一个强大的工具链,简化了传统JavaEE开发流程。

Spring Boot是什么?

Spring Boot是对Spring框架的简化实现,专注于构建单体微服务。它通过自动化配置和预留配置文件,实现了“开箱即用”的开发模式,大大提升了开发效率。

Spring Cloud包括哪些组件?

Spring Cloud 综合了开源社区与商业开发的多种组件,涵盖持续更新与维护的项目,以及即将退出历史舞台的成果。这些组件涵盖了从配置管理到服务发现、断路器等多方面的功能支持。

Spring Boot与Spring Cloud的关系是什么?

Spring Boot的定位

Spring Boot专注于发展单个微服务的效率,提供一站式开发体验,适合构建独立的微服务

Spring Cloud的定位

Spring Cloud则关注于全局性的微服务治理,整合多个Spring Boot开发的微服务,提供统一的服务管理和协调支持。其功能包含配置管理、服务发现、微服务路由、断路器熔断、微代理等多种场景的解决方案。

二者互补关系

Spring Boot可以独立使用,而Spring Cloud则离不开Spring Boot的支持。在复杂的微服务架构中,Spring Boot负责单体服务的开发,而Spring Cloud则负责服务间的协调与集成。

转载地址:http://omyez.baihongyu.com/

你可能感兴趣的文章
npm ERR! fatal: unable to connect to github.com:
查看>>
npm ERR! Unexpected end of JSON input while parsing near '...on":"0.10.3","direc to'
查看>>
npm ERR! Unexpected end of JSON input while parsing near ‘...“:“^1.2.0“,“vue-html-‘ npm ERR! A comp
查看>>
npm error Missing script: “server“npm errornpm error Did you mean this?npm error npm run serve
查看>>
npm error MSB3428: 未能加载 Visual C++ 组件“VCBuild.exe”。要解决此问题,1) 安装
查看>>
npm install CERT_HAS_EXPIRED解决方法
查看>>
npm install digital envelope routines::unsupported解决方法
查看>>
npm install 卡着不动的解决方法
查看>>
npm install 报错 EEXIST File exists 的解决方法
查看>>
npm install 报错 ERR_SOCKET_TIMEOUT 的解决方法
查看>>
npm install 报错 Failed to connect to github.com port 443 的解决方法
查看>>
npm install 报错 fatal: unable to connect to github.com 的解决方法
查看>>
npm install 报错 no such file or directory 的解决方法
查看>>
npm install 权限问题
查看>>
npm install报错,证书验证失败unable to get local issuer certificate
查看>>
npm install无法生成node_modules的解决方法
查看>>
npm install的--save和--save-dev使用说明
查看>>
npm node pm2相关问题
查看>>
npm run build 失败Compiler server unexpectedly exited with code: null and signal: SIGBUS
查看>>
npm run build报Cannot find module错误的解决方法
查看>>