|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/spring-cloud-quick-overview/
课程评论:没有评论
课程名称:Spring Cloud 快速概述 课程概述:Spring框架为现代基于Java的企业应用程序提供了全面的编程和配置模型,适用于任何部署平台。Spring的一个关键要素是提供应用级别的基础支持,专注于企业应用,使团队能够专注于应用级业务逻辑,而不必牵涉于特定的部署环境。微服务允许通过多个协作组件构建大型系统。在进程级别上,它实现了Spring在组件级别所做的工作:松散耦合的进程而非松散耦合的组件。 课程实例:假设有一个在线商店,其中包含独立的微服务,用于用户帐户、产品目录、订单处理和购物车。在构建这样一个系统时,必然需要设置和配置多个动态部分。如何使它们协同工作并不明显,因此需要对Spring Boot有良好的熟悉度,因为Spring Cloud对此进行了大量依赖。此外,还需要一些Netflix或其他开源项目,当然,还有一些Spring配置的“魔法”! 值得注意的是,实现Java中的微服务架构并不适合所有人。实际上,通常并不需要实施微服务。大多数公司采用它是为了扩展团队,而不是系统。如果您打算扩大团队,招聘Java开发者是一个非常有效的方法,因为流利使用Java的开发者数量超过了大多数其他语言,尽管JavaScript似乎正在迅速追赶!Java生态系统中有一些成熟的模式用于开发微服务架构。如果您熟悉Spring,那么在使用Spring Boot和Spring Cloud进行开发时,您会感到非常自在。
The Spring Framework provides a comprehensive programming and configuration model for modern Java-based enterprise applications - on any kind of deployment platform.A key element of Spring is infrastructural support at the application level: Spring focuses on enterprise applications so that teams can focus on application-level business logic, without unnecessary ties to specific deployment environments.Microservices allow large systems to be built up from a number of collaborating components. It does at the process level what Spring has always done at the component level: loosely coupled processes instead of loosely coupled components.Shopping ApplicationFor example imagine an online shop with separate microservices for user accounts, product-catalog order-processing, and shopping carts: Inevitably there are a number of moving parts that you have to set up and configure to build such a system. How to get them working together is not obvious - you need to have good familiarity with Spring Boot since Spring Cloud leverages it heavily, several Netflix or other OSS projects are required and, of course, there is some Spring configuration "magic"!Implementing a microservices architecture in Java isn't for everyone. For that matter, implementing microservices, in general, isn't often needed. Most companies do it to scale their people, not their systems. If you're going to scale your people, hiring Java developers is one of the best ways to do it. After all, there are more developers fluent in Java than most other languages - though JavaScript seems to be catching up quickly!The Java ecosystem has some well-established patterns for developing microservice architectures. If you're familiar with Spring, you'll feel right at home developing with Spring Boot and Spring Cloud