Springboot入门 1. 快速搭建 https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/ 官方文档 https://start.spring.io/ 搭建官网 下载 导入idea 即可 导入后的项目结构 创建 ...
分类:
编程语言 时间:
2021-01-25 11:26:43
阅读次数:
0
一、引入依赖 <!-- websocket推流--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-websocket</artifactId> </dependenc ...
分类:
编程语言 时间:
2021-01-25 11:21:53
阅读次数:
0
SpringMVC View 从jsp =》现代前端; C 从Servlet =》Controller; Model 包括数据和行为:dao+service,vo/dto DispatcherServlet 请求分发 dispatcher程序调度 SpringMVC执行流程: (找个清楚的图。。) ...
分类:
编程语言 时间:
2021-01-25 11:04:12
阅读次数:
0
@ComponentScan(excludeFilters = @ComponentScan.Filter(type = FilterType.ANNOTATION, classes = {Controller.class, RestController.class})) 前言 springboot ...
分类:
其他好文 时间:
2021-01-22 12:28:51
阅读次数:
0
当作到博客的点击排行功能的时候,心不甘情不愿的使用起了redis,但是redis存进来的key在我的redisDesktopManage中是这样的 我写进去的是一个字符串,这里则是一串Hex.当然,我并不是这样不行,只是这样太不直观了。 经过排查得知,如果你的redis相关jar包导入的是这个话,就 ...
分类:
编程语言 时间:
2021-01-22 12:11:24
阅读次数:
0
SpringBoot之SpringBoot整合JdbcTemplate 添加Maven依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-jdbc</artifactI ...
分类:
数据库 时间:
2021-01-22 12:01:44
阅读次数:
0
1:pom中设置下载源为阿里云 <repositories> <repository> <id>aliyun</id> <name>aliyun</name> <url>https://maven.aliyun.com/repository/public</url> </repository> </ ...
分类:
编程语言 时间:
2021-01-22 12:00:04
阅读次数:
0
分布式配置中心选型 随着业务的发展、微服务架构的升级,服务的数量、程序的配置日益增多(各种微服务、各种服务器地址、各种参数),传统的配置文件方式和数据库的方式已无法满足开发人员对配置管理的要求: 安全性:配置跟随源代码保存在代码库中,容易造成配置泄漏。 时效性:修改配置,需要重启服务才能生效。 局限 ...
分类:
其他好文 时间:
2021-01-21 10:58:12
阅读次数:
0
为什么需要灰度发布# 灰度发布(又名金丝雀发布)是指在黑与白之间,能够平滑过渡的一种发布方式。在其上可以进行A/B testing,即让一部分用户继续用产品特性A,一部分用户开始用产品特性B,如果用户对B没有什么反对意见,那么逐步扩大范围,把所有用户都迁移到B上面来。 总结下一些应用场景: 微服务依 ...
分类:
其他好文 时间:
2021-01-20 12:17:33
阅读次数:
0
转自:https://www.pianshen.com/article/58601308015/ springboot配置MVC的官网信息:https://docs.spring.io/spring-boot/docs/2.2.1.RELEASE/reference/htmlsingle/#boot ...
分类:
编程语言 时间:
2021-01-19 12:26:09
阅读次数:
0