Fatal's Blog

Attitude decides everything


  • Home

  • About

  • Tags30

  • Categories8

  • Archives49

  • Links

  • Search

SpringBoot2 | 第十八篇:使用 Redis 实现消息队列

Posted on 2018-10-18 | Edited on 2019-07-05 | In SpringBoot2 , Redis

​—— 基于 Lettuce 的发布与订阅 ​ 使用 Spring Data Redis 作为发布消息的方式听起来可能很奇怪,但是您将发现,Redis不仅提供NoSQL数据存储,而且还提 ...

Read more »

SpringBoot2 | 第十七篇:集成Swagger2在线调试(battcn版)

Posted on 2018-10-17 | Edited on 2019-07-01 | In SpringBoot2

Swagger​ 随着互联网技术的发展,现在的网站架构基本都由原来的后端渲染,变成了:前端渲染、前后端分离的形态,而且前端技术和后端技术在各自的道路上越走越远。 ​ 前端和 ...

Read more »

SpringBoot2 | 第十七篇:集成Swagger2在线调试(官方版)

Posted on 2018-10-17 | Edited on 2019-07-02 | In SpringBoot2

Swagger​ 随着互联网技术的发展,现在的网站架构基本都由原来的后端渲染,变成了:前端渲染、前后端分离的形态,而且前端技术和后端技术在各自的道路上越走越远。 ​ 前端和 ...

Read more »

SpringBoot2 | 第十六篇:SpringCache集成Redis

Posted on 2018-10-15 | Edited on 2019-07-01 | In SpringBoot2 , Redis

​ 上一篇简单的介绍了 Spring Cache 的使用方法,用的是默认缓存管理器 ConcurrentMapCacheManager, 本篇文章介绍 Spring Cache 如何集成 ...

Read more »

SpringBoot2 | 第十五篇:整合Cache

Posted on 2018-10-15 | Edited on 2019-06-25 | In SpringBoot2

​ 数据库的数据 是存储在 硬盘上 的,频繁访问 性能 较 低。而 缓存数据 存储在 内存 中,访问 性能 比硬盘 快 了一个数量级。如果将一些需要 频繁查询 的热数据放到 缓存 中,可 ...

Read more »

SpringBoot2 | 第十四篇:整合Lettuce Redis

Posted on 2018-10-14 | Edited on 2019-07-02 | In SpringBoot2 , Redis

​ Spring Boot 除了支持常见的 ORM 框架外,更是对常用的中间件提供了非常好封装,随着Spring Boot2.x的到来,支持的组件越来越丰富,也越来越成熟,其中对Redi ...

Read more »

SpringBoot2 | 第十三篇:整合 Jedis Redis

Posted on 2018-10-13 | In SpringBoot2 , Redis

​ 要想在 Java 中连接 Redis,并进行操作,可以用 Spring Data Redis,它是由 Spring 集成的,一种是官方推荐的 Jedis,支持集群,其他功能差不多一样 ...

Read more »

SpringBoot2 | 第十二篇:整合MongoDB

Posted on 2018-10-10 | In SpringBoot2

SpringData 已经集成了很多技术,也包含了 MongoDB,这篇笔记就以整合 SpringData MongoDB 为例。 [TOC] 为什么使用NoSQL?今天我们可以通过第三方平台(如:G ...

Read more »

SpringBoot2 | 第十一篇:开启声明式事务

Posted on 2018-10-06 | In SpringBoot2

​ SpringBoot 开启事务很简单,只需要一个注解@Transactional 就可以了。因为在 SpringBoot 中已经默认对jpa、jdbc、mybatis 开启了事务, ...

Read more »

SpringBoot2 | 第十篇:Mybatis代码生成器

Posted on 2018-10-05 | In SpringBoot2

SpringBoot 2.0 中如何使用代码生成器 [TOC] 环境/版本一览: 开发工具:Intellij IDEA 2018.2.2 springboot: 2.0.5.RELEASE jdk ...

Read more »
1…345
Fatal

Fatal

49 posts
8 categories
30 tags
GitHub E-Mail
0%
© 2020 Fatal
Total: Visitors: Hits: