![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
spring
文章平均质量分 96
陌养
永远相信美好的事情正在发生
展开
-
Springboot国际化配置
国际化的配置主要在MessageSourceAutoConfiguration类中。原创 2020-10-16 14:46:47 · 1339 阅读 · 0 评论 -
springboot配置扩展
在使用springboot,我们有时候可能会想把已经自动装配好的组件换成我们自己定义的。 对于如何替换,官网上是这样说的 https://docs.spring.io/spring-boot/docs/current/reference/html/spring-boot-features.html#boot-features If you want to keep those Spring Boot MVC customizations and make more MVC customizations (原创 2020-10-10 15:34:57 · 428 阅读 · 0 评论 -
关于使用springboot的application.yml切换dev配置环境
server: port: 8080 spring: profiles: active: dev //选择要运行的配置环境 person: lastName: zhangsan age: 18 boss: false --- server: port: 8085` spring: profiles: dev //为配置环境命名 --- server: port: 8083原创 2020-09-25 09:24:06 · 2907 阅读 · 3 评论 -
SpringBoot自动装配原理
springboot主要是依赖一个父项目,主要是管理项目的资源过滤及插件! pom.xml <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.3.2.RELEASE</version>原创 2020-09-09 16:27:09 · 129 阅读 · 0 评论 -
微服务(Microservices)——Martin Flower
原文是 Martin Flower 于 2014 年 3 月 25 日写的《Microservices》。 微服务 “微服务架构(Microservice Architecture)”一词在过去几年里广泛的传播,它用于描述一种设计应用程序的特别方式,作为一套独立可部署的服务。目前,这种架构方式还没有准确的定义,但是在围绕业务能力的组织、自动部署(automated deployment)、端智能(intelligence in the endpoints)、语言和数据的分散控制,却有着某种共同的特征。 “微原创 2020-09-08 15:35:45 · 624 阅读 · 0 评论