会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
shunWcs
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
下一页
2021年6月24日
27、Mybatis-plus整合多数据源
摘要: 1、添加所用到的依赖pom.xml <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-jdbc</artifactId> </dependency> <depen
阅读全文
posted @ 2021-06-24 01:39 shunnWcs
阅读(333)
评论(0)
推荐(0)
2021年6月23日
26、Mybatis-Puls性能分析插件,Wapper条件构造器、代码生成器
摘要: 1、性能分析插件,加入mybatis-puls 的组件,首先添加mybatis-plus依赖 <!-- mybatis-plus的依赖 --> <dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-boot-sta
阅读全文
posted @ 2021-06-23 21:07 shunnWcs
阅读(258)
评论(0)
推荐(0)
25、Mybatis-Pul 主键生成、自动填充、乐观锁、逻辑删除
摘要: 1、添加Mybatis-puls的依赖 <dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-boot-starter</artifactId> <version>3.1.1</version> </depende
阅读全文
posted @ 2021-06-23 00:27 shunnWcs
阅读(116)
评论(0)
推荐(0)
2021年6月22日
24、SpringBoot 热部署 、监控管理
摘要: 1、添加热部署的依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> </dependency> 2、热部署功能按住快捷键:ctrl + F9
阅读全文
posted @ 2021-06-22 23:59 shunnWcs
阅读(52)
评论(0)
推荐(0)
23、SpringBoot 整合Dubbo/zookeeper分布式架构
摘要: 1、使用docker(docker-compose) 去安装zookeeper version: '3.1' services: zookeeper: restart: always image: zookeeper container_name: zookeeper ports: - 2181:2
阅读全文
posted @ 2021-06-22 16:00 shunnWcs
阅读(57)
评论(0)
推荐(0)
22、SpringBoot 与安全框架SpringSecurity (做登入认证和授权)
摘要: 1、添加springSecurity的依赖 <properties> <java.version>1.8</java.version> <thymeleaf.version>3.0.9.RELEASE</thymeleaf.version> <thymeleaf-layout-dialect.ver
阅读全文
posted @ 2021-06-22 01:21 shunnWcs
阅读(299)
评论(0)
推荐(0)
21、SpringBoot 异步任务,定时任务,邮件任务
摘要: 1、SpringBoot整合异步任务 2、SpringBoot整合定时任务 3、SpringBoot发送邮件任务,添加mail的依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-st
阅读全文
posted @ 2021-06-22 00:22 shunnWcs
阅读(50)
评论(0)
推荐(0)
2021年6月21日
20、SpringBoot 整合 RabbitMQ
摘要: 使用docker-compose 安装RabbitMQ version: '3.1' services: rabbitmq: restart: always image: rabbitmq:management container_name: rabbitmq ports: - 5672:5672
阅读全文
posted @ 2021-06-21 18:20 shunnWcs
阅读(76)
评论(0)
推荐(0)
19、SpringBoot 使用Redis作为缓存
摘要: 1、添加redis的场景启动器依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId> </dependency> 2、编写a
阅读全文
posted @ 2021-06-21 12:16 shunnWcs
阅读(123)
评论(0)
推荐(0)
18、SpringBoot 整合缓存技术
摘要: 1、首先创建环境添加pom.xml依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-jdbc</artifactId> </dependency> <dep
阅读全文
posted @ 2021-06-21 00:37 shunnWcs
阅读(79)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
下一页
公告