Spring、Spring Framework、Spring Boot、Spring Cloud

关键字: Spring、Spring Framework、Spring Boot、Spring Cloud

参考资料

正文

spring技术体系中包含了 spring framework、spring boot、spring cloud。而spring framework是整个spring技术体系的基石。

Spring

spring是一个生态体系,或者说技术体系。包含:spring boot、spring framework、spring cloud、spring cloud data flow、spring data、spring integration、spring batch、spring security等等。参见[spring所有项目](https://spring.io/projects)

Spring Framework

Spring Framework是整个spring生态的基石.Spring Framework专注于企业级应用程序的“管道”,以便开发团队可以专注于应用程序的业务逻辑。

原文:

A key element of Spring is infrastructural support at the application level: Spring focuses on the "plumbing" of enterprise applications so that teams can focus on application-level business logic, without unnecessary ties to specific deployment environments.

Spring Framework为依赖注入、事务管理、WEB应用、数据访问等提供了核心的支持。

Spring Boot

Spring Boot使得用户可以轻松的创建独立的、生产级的基于Spring可直接运行的程序。并且对于第三方库采取最小依赖,用户可以直接使用。大部分的Spring Boot应用仅需要一些最基本的spring配置。Spring Boot的哲学就是约定大于配置。

原文:

Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can "just run".

We take an opinionated view of the Spring platform and third-party libraries so you can get started with minimum fuss. Most Spring Boot applications need minimal Spring configuration.

Spring Cloud

Spring Cloud事实上是一整套基于Spring Boot的微服务解决方案。它为开发者提供了很多工具,用于快速构建分布式系统的一些通用模式,例如:配置管理、注册中心、服务发现、限流、网关、链路追踪等。

Spring Boot 与 Spring Cloud关系

Spring Boot是build anything,而Spring Cloud是coordinate anything,Spring Cloud的每一个微服务解决方案都是基于Spring Boot构建的