1 Spring Boot官网[2.1.5 CURRENT GA]
1.1 Pivotal
Wiki
Official Website:www.pivotal.io
1.2 BUILD ANYTHING
1.3 Overview
1.4 Features
- Create stand-alone Spring applications
- Embed Tomcat, Jetty or Undertow directly (no need to deploy WAR fifiles)
- Provide opinionated 'starter' dependencies to simplify your build confifiguration
- Automatically confifigure Spring and 3rd party libraries whenever possible
- Provide production-ready features such as metrics, health checks and externalized confifiguration
- Absolutely no code generation and no requirement for XML confifiguration
2 Spring Boot和Spring MVC
试想一下使用Spring或者Spring MVC的经历,有哪些痛苦?
3 初识Spring Boot
3.1 搭建工程方式
官网直接创建
https://start.spring.io/
- 开发工具IDEA
- 原始方式
比如用maven,创建指定的文件目录结构,引入依赖,创建类等。
3.2 引入web依赖启动感受
4 Spring Boot工程结构
4.1 Pom文件
4.2 XXXApplication
4.3 配置文件application.properties
4.4 templates和static
5 Spring Boot与微服务
5.1 再次理解Spring Boot
方便搭建和开发,总之很方便,后面再慢慢感受。
5.2 微服务
Microservices链接:https://martinfowler.com/articles/microservices.html
网上有翻译版本可自行查找!本人不对这段话进行翻译,尊重权威!
关于spring boot系列性的文章后续会继续发布3-4篇,整个系列文章会由浅入深的介绍微服务的相关概念与底层原理!
大家可以扫描下方二维码关注下我的微信公众号,公众号内没有福利,只会定期生产技术性文章!