一、spring boot简介

Spring Boot简介Spring 应用开发,约定大于配置,去繁从简,just run就能创建一个独立的产品级的应用。

背景:

J2EE笨重的开发、繁多的配置、低下的开发效率、复杂的部署流程、第三方技术集成难度大。

解决:

“Spring”全家桶时代。

Spring boot -> J2EE一站式解决方案。

Spring Cloud -> 分布式整体解决方案。

Spring Boot简介

优点:

快速创建独立运行的Spring项目以及与主流框架集成。

使用嵌入式Servlet容器,应用无需打包成war包。

starters自动依赖与版本控制。

大量的自动配置、简化开发,也可修改默认值。

无需配置XML,无代码生成,开箱即用。

准生产环境的运行时应用监控。

与云计算的天然集成。

二、Spring Boot微服务

martin fowler 微服务的创始人。

《what are microservices?》

微服务是一种架构风格,一组小型服务,可以通过http的方式进行互通。

 

In short, the microservice architectural style is an approach to developing a single application as a suite of small services, each running in its own process and communicating with lightweight mechanisms, often an HTTP resource API. These services are built around business capabilities and independently deployable by fully automated deployment machinery. There is a bare minimum of centralized management of these services, which may be written in different programming languages and use different data storage technologies.

 

Spring Boot简介

 

https://martinfowler.com/articles/microservices.html

相关文章: