![](https://img-blog.csdnimg.cn/20190927151132530.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
SpringBoot
SpringBoot
版本:SpringBoot 1.5.9.RELEASE
JoeyChanYC
这个作者很懒,什么都没留下…
展开
-
SpringBoot YAML语法
在SpringBoot中,配置文件的格式有properties和yml,配置文件的固定名字是application.properties和application.yml 1、介绍 YAML(YAML Ain’t Markup Language) YAML是以数据为中心的,比json和xml更加适合做配置文件; YAML配置例子 server: port: 8086 XML配置例子 <s...原创 2020-02-21 12:21:39 · 76 阅读 · 0 评论 -
初见SpringBoot HolloWorld
1、Maven配置 在maven的conf文件夹的setting.xml添加profiles标签 <profile> <id>jdk‐1.8</id> <activation> <activeByDefault>true</activeByDefault> <jdk>1.8</jdk> &...原创 2020-02-20 11:44:37 · 110 阅读 · 0 评论 -
SpringBoot大背景微服务的简介
2014年,martin fowler在他的博客发表了一篇关于微服务的博文,生动形象的介绍了整个微服务的一些设计思想以及一些理念,微服务从这时候开始才被人慢慢的所熟知。 微服务是一种架构风格: 一个应用应该是一个小型服务 可以通过HTTP协议进行互通 要了解微服务,首先要了解单体应用 单体应用(ALL IN ONE): 所有的东西都写在一个应用里面 优点: 开发简单,把所有功能集成到一...原创 2019-11-25 13:33:59 · 170 阅读 · 0 评论 -
SpringBoot简介
Spring Boot来简化Spring应用开发,约定大于配置, 去繁从简,just run就能创建一个独立的,产品级别的应用 背景: J2EE笨重的开发,繁多的配置、底下的开发效率、复杂的部署流程、第三方技术集成难度大。 解决: “Spring全家桶”时代 Spring Boot → J2EE一站式解决方案 Spring Cloud → 分布式整体解决方案 优点: 快速创建独立运行的S...原创 2019-11-25 13:08:54 · 77 阅读 · 0 评论