`

国内最全的Spring Boot系列之二

阅读更多

历史文章

国内最全的Spring Boot系列之一

视频&交流平台

à悟空学院:https://t.cn/Rg3fKJD

学院中有Spring Boot相关的课程!点击「阅读原文」进行查看!

SpringBoot视频:http://t.cn/A6ZagYTi

Spring Cloud视频:http://t.cn/A6ZagxSR

SpringBoot Shiro视频:http://t.cn/A6Zag7IV

SpringBoot交流平台:https://t.cn/R3QDhU0

SpringData和JPA视频:http://t.cn/A6Zad1OH

SpringSecurity5.0视频:http://t.cn/A6ZadMBe

Sharding-JDBC分库分表实战http://t.cn/A6ZarrqS

分布式事务解决方案「手写代码」:http://t.cn/A6ZaBnIr

 

新的章程

       风霜雪雨,2018已不再,悲欢离合往事散,酸甜苦辣也忘怀,成败弹指一挥间,望过去,展未来,2019新起点,新的辉煌新舞台,拼搏进取在未来,愿新的一年谱写新的篇章继往开来。在此,祝大家在新的一年里福气多多、快乐连连、万事圆圆、微笑甜甜。

       回首2018年,写了不少文章,在此对过往的文章进行一个总结,方便广大的粉丝们进行阅读。

一、技术文章

1.1 WebSocket遇上Spring Boot怎么玩?

       在比很久还很久的时候,就有网友留言:“谁知道为什么websocket在spring boot里用不了吗?”当时吧,因为实际项目中也没有使用WebSocket的需求,所以也就一直没有研究,最近想想还是需要研究,粉丝们的需求还是要尽量满足的!

(1)170.Spring Boot WebSocket:概念篇

http://mp.weixin.qq.com/s/oeFTaY_M96uFyTLq7dcOKg

(2)171.Spring Boot WebSocket:原理篇

http://mp.weixin.qq.com/s/QainFWvL6998Fc1sU6Q4gg

(3)172.Spring Boot WebSocket:编码分析

http://mp.weixin.qq.com/s/lyl8ZuEJ0rstHekE7_TwzQ

(4)173. Spring Boot WebSocket:群聊

http://mp.weixin.qq.com/s/iXX-Nn57FaS8XpKUNWXPTg

(5)174. Spring Boot WebSocket:群聊-昵称

http://mp.weixin.qq.com/s/MPP7yBtSCfywylbhbAGmrQ

(6)175. Spring Boot WebSocket:单聊

http://mp.weixin.qq.com/s/6TmcQe-ePRb2_SM0_tkP9w

 

1.2 Lombok解放Getter、Setter的生成

在开发过程中,通常都会定义大量的JavaBean,然后通过IDE去生成其属性的构造器、getter、setter、equals、hashcode、toString方法,当要对某个属性进行改变时,比如命名、类型等,都需要重新去生成上面提到的这些方法,那Java中有没有一种方式能够避免这种重复的劳动呢?Lombok就是为此而生的。

(1)177. Spring Boot lombok:概述+安装

https://mp.weixin.qq.com/s/CCyNIet46W1ohec00XXQRA

(2)178. Spring Boot lombok:使用

https://mp.weixin.qq.com/s/x6KVlaEX5QE4DdkdxyFs6Q

(3)179.Spring Boot lombok安装+使用:idea篇

https://mp.weixin.qq.com/s/3GqgmoQkDTZxsf0Pad0WRA

(4)180.Spring Boot lombok:@EqualsAndHashCode

https://mp.weixin.qq.com/s/lXpCnmhTT7a1U8Q282lfUg

 

1.3 MyBatis的原理和自定义Plugin

在网易云课堂的讨论区中有人咨询: 老师,PageHelper的实现原理是怎么样的?这个原理吧,当然不是一两句话就能说明白的,所以这里撰文说下。

(1)181. Spring Boot MyBatis自定义Plugin

https://mp.weixin.qq.com/s/DSnKtImBQ4uQjlX9Ddz4OA

(2)182.Spring Boot MyBatis插件之拦截器(Interceptor)实现原理

https://mp.weixin.qq.com/s/6Uu0D9Q2kpljOkUHrPiaHg

(3)183.Spring Boot MyBatis分页插件原理

https://mp.weixin.qq.com/s/3vlc91mUFkbU1klZP2F6vw

更多的Spring+MyBatis在《国内最全的Spring Boot系列之一》可以找到。

 

1.4 Spring Boot 2.0的新特性

在 2018年3 月 1 号,Spring Boot 2.0.0.RELEASE正式发布,这是 Spring Boot 1.0 发布 4 年之后第一次重大修订,4年呢,足足等了4年了,千呼万唤始出来,让我等得好辛苦呀,截止到2019.1.27官方最新的版本是2.1.2,一代的Spring Boot更新到1.5.19。

(1)185. Spring Boot 2.0终于正式发布

https://mp.weixin.qq.com/s/yLZ868CAnBNAk0fAIOEV3g

(2)186. Spring Boot 2.0发布:番外篇

https://mp.weixin.qq.com/s/nYOV5yst8yZXJiXPhK_nVA

(3)187. Spring Boot 2.0小彩蛋 :动态 banner

https://mp.weixin.qq.com/s/g5PUCuyRDBr7nBBOT8Sn5w

 

1.5 Spring Boot葵花宝典

群雄争霸,武林人士,寻绝世神功,以笑傲江湖,葵花宝典不二之选。日出东方,唯我不败;葵花在手,天下我有

《葵花宝典》是金庸武侠小说《笑傲江湖》中的武功秘籍,当然这里不是要写一部Spring Boot版本的武林绝学了,而是一本那么年踩过的Spring Boot坑。

《Spring Boot葵花宝典:初现江湖》

https://mp.weixin.qq.com/s/mVMRGNV42ntpmGu6dlXDSA

《Spring Boot葵花宝典:初出茅庐》

https://mp.weixin.qq.com/s/SuZEro7ZT1bIPJFoj_-vhQ

《Spring Boot葵花宝典:小试牛刀:Unrecognized Windows Sockets error: 10106》

https://mp.weixin.qq.com/s/EemZ24SgZEq3o_VSF9BmWg

《Spring Boot葵花宝典:初露锋芒:MyBatis insert异常 Parameter 'name' not found》

https://mp.weixin.qq.com/s/ZoeAw5P6Dv9xoZ9TIakG3g

 

1.6 Spring Boot 2.0 Quartz

Quartz是一个完全由Java编写的开源作业调度框架,为在Java应用程序中进行作业调度提供了简单却强大的机制。Quartz允许开发人员根据时间间隔来调度作业。它实现了作业和触发器的多对多的关系,还能把多个作业与不同的触发器关联。简单地创建一个org.quarz.Job接口的Java类,在Spring Boot 2.x中使用Quartz是变得如此之简单。

 188. Spring Boot 2.0 quartz :回顾

 189. Spring Boot 2.0 quartz :Hello World

 190. Spring Boot 2.0 quartz :job data property和inject service

 191. Spring Boot 2.0 quartz Job持久化

 192. Spring Boot 2.0 quartz:任务动态管理-添加

 

1.7 Spring Boot 数据库迁移系列

马老师:什么是梦想,梦想就是做梦都要想,我们的工作是做梦要想的,但是最重要的是边上那个人就是你做梦都要想的人。我们梦想数据库更新迭代的时候,不要在那么痛苦了,不要让我再有种“删库跑路”的感觉了。

193. Spring Boot 数据库迁移:概述

194. Spring Boot 数据库迁移:Flyway

195. Spring Boot 2.0数据库迁移:Flyway

196. Spring Boot 数据库迁移:Liquibase

197. Spring Boot 2.0数据库迁移:Liquibase

198. Spring Boot Flyway工作原理

 

1.8 Spring Boot Swagger2

我们的RESTful API需要面对多个开发人员或多个开发团队:IOS开发、Android开发或是Web开发等。为了减少与其他团队平时开发期间的频繁沟通成本

205. Spring Boot 2.0 Swagger2:初识Swagger

Spring Boot集成Swagger2

206. Spring Boot 2.0 Swagger2:使用

207. Spring Boot  Swagger2:极简方式

208. Spring Boot Swagger2:排序 – 漂游记

 

1.9 Java 8新特性

Lambda表达式是一个匿名函数,Lambda表达式基于数学中的λ演算得名,直接对应于其中的lambda抽象(lambda abstraction),是一个匿名函数,即没有函数名的函数。从这里我们就知道这个Lambda的读音了吧(λ->α、β,这是数学中定义常量、未知数的),读音:lan b(m) da(兰亩达)['læ;mdə]。(啊法、贝塔、兰亩达,^_^,很好记有木有

Java8新特性:接口的默认方法

Java8新特性:Lambda表达式:小试牛刀

Java8新特性:Lambda表达式:过关斩将:使用场景

Java8新特性:Lambda表达式:摸摸里面

Java8新特性:Stream:基础篇

Java8新特性:Stream:实战篇

 

1.10 Spring Boot Security系列文章

简单来理解一下SpringSecurity:

第一:什么是Spring Security ?

SpringSecurity是一个安全框架。

第二:Spring Security核心功能?

(1)认证(你是谁,用户/设备/系统)

(2)验证(你能干什么,也叫权限控制/授权,允许执行的操作)

(3)攻击防护(防止伪造身份)

第三:Spring Security原理技术

Filter、Servlet、Spring DI、SpringAOP

214. Spring Security:概述

215.Spring Boot+Spring Security:初体验

216.Spring Boot+Spring Security:基于内存的认证信息

217.Spring Boot+Spring Security:基于内存的角色授权

218.Spring Boot+Spring Security:基于内存数据库的身份认证和角色授权

219.Spring Boot+Spring Security:基于MySQL数据库的身份认证和角色授权

220.Spring Boot+Spring Security:自定义登录页面和构建主页

221.Spring Boot+Spring Security:登出和403处理

222.Spring Boot+Spring Security:动态加载角色

223.Spring Boot+Spring Security:原理1

 

 

二、技术视频

SpringBoot视频:http://t.cn/R3QepWG

Spring Cloud视频:http://t.cn/R3QeRZc

SpringBoot Shiro视频:http://t.cn/R3QDMbh

SpringBoot交流平台:http://t.cn/R3QDhU0

SpringData和JPA视频:http://t.cn/R1pSojf

SpringSecurity5.0视频:http://t.cn/EwlLjHh

Sharding-JDBC分库分表实战:http://t.cn/E4lpD6e



  

2.1 Spring Boot+Sharding-JDBC分库分表实战



 

当Sharding-jdbc遇到Java的时候,复杂的编码让我心烦意乱;当Sharding-jdb遇到Spring的时候,烦人的XML配置文件让我很是无奈;当Sharding-jdbc遇到Spring Boot的,简单的配置文件让我欲罢不能。

       当Shairding-jdbc遇到SpringBoot的时候,到底会产生什么样的神奇效果呢,

SpringBoot+Sharding-JDBC分库分表实战》课程就是见证奇迹的时刻。

 

2.1.1  版本说明

Spring Boot V2.1.1

Sharding-JDBC V3.0.0

 

2.1.2  使用技术

Spring Boot 2.1.1

Sharding-JDBC 3.0.0

Spring Data JPA

MyBatis注解

MySQL 8.0.12

Java 8

Druid

Yaml

Logback

 

2.1.3  课程目录

1.课程大纲+适合人群+使用技术

2.什么是Sharding-JDBC

3.分库分表基本概念

4.Java使用Sharding-JDBC

5.Java+Yaml使用sharding-jdbc

6.SpringBoot+jpa使用sharding-jdbc

7.SpringBoot+mybatis使用sharding-jdbc

8.SpringBoot+jpa使用sharding-jdbc:开启SQL显示

9.SpringBoot+jpa使用sharding-jdbc:默认数据源

10.SpringBoot+jpa使用sharding-jdbc:绑定表

11.SpringBoot+jpa使用sharding-jdbc:分页优化方案

12.SpringBoot+jpa使用sharding-jdbc:强制分片路由

13.SpringBoot+jpa使用sharding-jdbc:读写分离

 

2.1.4  课程地址

Sharding-JDBC分库分表实战:http://t.cn/E4lpD6e

 2.2 Spring Boot+Spring Security

2.1.1  使用技术

(1)JDK版本:1.8

(2)Spring Boot 2.0.6

(3)Spring Security 5.0.9

(4)Spring Data JPA 2.0.11.RELEASE

(5)hibernate5.2.17.Final

(6)MySQLDriver 5.1.47

(7)MySQL 8.0.12

 

2.1.2  课程目录

1.Spring Security:概述

2.Spring Boot+Spring Security:初体验

3.Spring Boot+Spring Security:基于内存的认证信息

4.Spring Boot+Spring Security:基于内存的角色授权

5.Spring Boot+Spring Security:基于内存数据库的身份认证和角色授权

6.Spring Boot+Spring Security:基于MySQL数据库的身份认证和角色授权

7.Spring Boot+Spring Security:自定义登录页面和构建主页

8.Spring Boot+Spring Security:登出和403处理

9.Spring Boot+Spring Security:动态加载角色

10.Spring Boot+Spring Security:原理1

11.Spring Boot+Spring Security:自定义Filter

12.  Spring Boot+Spring Security:页面白名单和获取登录信息

13.  Spring Boot+Spring Security:基于URL动态权限n种方案

14.  Spring Boot+Spring Security:基于URL动态权限:准备工作

15.  Spring Boot+Spring Security:基于URL动态权限:扩展access()的SpEL表达式

 

2.1.3  课程地址

SpringSecurity5.0视频:http://t.cn/EwlLjHh

 

 三、感悟文章

《2018,你就是你,不一样的小蚂蚁》

https://mp.weixin.qq.com/s/WzlBHFDKmcVXm9yShpT4bg

《你就是你,不一样的小蚂蚁【人生千相】》

https://mp.weixin.qq.com/s/A1TYHqvj6AMc29HAoJbdBw

《愚你相遇,好幸运:遇见你,遇见了最好的自己》

https://mp.weixin.qq.com/s/chBY55PbnkAIO9F5Hgrm0Q

《时间去哪了?》

https://mp.weixin.qq.com/s/iOKwSxEQv6rNyodvtO9Feg

《21天习惯养成法则》

https://mp.weixin.qq.com/s/mPiClzmbUlfwNwEBG8JhBQ

《《喜剧之王》「我养你啊」之人生选择》

https://mp.weixin.qq.com/s/X5gWy5IBGfgqIhhdCWbajA

《《喜剧之王》「我养你啊」之选择在一念之间》

https://mp.weixin.qq.com/s/KchvkC5SlZJ6oosR_35FQg

《遇见阿里,遇见自己》

https://mp.weixin.qq.com/s/7rYlLzU9FlinDd_ZwVHG-A

《当要离开的时候,我却动情了》

https://mp.weixin.qq.com/s/SJPrxmU713V9rJtUllkO4A 

《我读的书很多,但都没有你好看【一禅录】》

https://mp.weixin.qq.com/s/sO0G1yRpXLZZLnv6B3UQJA

《风口之上,我是那头猪嘛?》

https://mp.weixin.qq.com/s/JwUzRvXS7OmehEuAa2c6sw

《为了更勇敢,你可以害怕@一禅小和尚》

https://mp.weixin.qq.com/s/6duVQUiEuMMvJPOzj6oQvw 

 

2018感恩有你

谢谢你,爱我的人;

谢谢你,陪我的人;

谢谢你,懂我的人;

谢谢你,助我的人;

我很幸福,因为你的呵护;

我很高兴, 因为你的关心;

我很快乐,因为你的支持;

我很开心, 因为你的存在。

我的世界因为有了你而宽广,

我的生活因为有了你而精彩。

一路走来, 非常感恩有你温暖陪伴!

千言万语的心,化作点点滴滴祝福的情,感恩有你!

 

à悟空学院:https://t.cn/Rg3fKJD

学院中有Spring Boot相关的课程!点击「阅读原文」进行查看!

SpringBoot视频:http://t.cn/A6ZagYTi

Spring Cloud视频:http://t.cn/A6ZagxSR

SpringBoot Shiro视频:http://t.cn/A6Zag7IV

SpringBoot交流平台:https://t.cn/R3QDhU0

SpringData和JPA视频:http://t.cn/A6Zad1OH

SpringSecurity5.0视频:http://t.cn/A6ZadMBe

Sharding-JDBC分库分表实战http://t.cn/A6ZarrqS

分布式事务解决方案「手写代码」:http://t.cn/A6ZaBnIr

 

  • 大小: 370.3 KB
  • 大小: 1010.6 KB
分享到:
评论

相关推荐

    Spring Boot 系列教程 入门

    Spring Boot 系列教程 入门

    Beginning Spring Boot 2

    Beginning Spring Boot 2 Beginning Spring Boot 2 Beginning Spring Boot 2

    Spring Boot 2 Recipes

    获取Spring Boot 2微框架的可重用代码配方和代码段 了解Spring Boot 2如何与其他Spring API,工具和框架集成 访问Spring MVC和新的Spring Web Sockets,以实现更简单的Web开发 使用微服务进行Web服务开发并与Spring ...

    Spring boot 示例 官方 Demo

    spring-boot-helloWorld:spring-boot的helloWorld版本 spring-boot-mybaits-annotation:注解版本 spring-boot-mybaits-xml:xml配置版本 spring-boot-mybatis-mulidatasource:springboot+mybatis多数据源最简解决...

    Pro Spring Boot 2第2版-2009-EPUB版

    Pro Spring Boot 2: An Authoritative Guide to Building Microservices, Web and Enterprise Applications, and Best Practices Quickly and productively develop complex Spring applications and microservices...

    Beginning Spring Boot 2 Applications and Microservices with the Spring Framework

    This book will help you understand what Spring Boot is, how Spring Boot helps you build Spring-based applications quickly and easily, and the inner workings of Spring Boot using easy-to-follow ...

    Spring Boot Examples

    Spring boot使用的各种示例,以最简单、最实用为标准 spring-boot-helloWorld:spring-boot的helloWorld版本 spring-boot-mybaits-annotation:注解版本 spring-boot-mybaits-xml:xml配置版本 spring-boot-...

    Spring Boot 2.X 实战教程.pdf

    本课程内容包括Spring简介、Spring Boot简介、安装JDK、安装Maven、第一个Spring Boot程序(使用Spring Initializr构建、Spring Boot代码讲解、安装Notepad++)、构建系统、代码、配置、三种方式运行程序、安装...

    Spring cloud和Spring boot介绍

    Spring Boot简化了基于Spring的应用开发,通过少量的代码就能创建一个独立的、产品级别的Spring应用。Spring Boot为Spring平台及第三方库提供开箱即用的设置,这样你就可以有条不紊地开始。多数Spring Boot应用只...

    基于Spring Boot+Spring Cloud+OAuth2的RBAC权限管理系统.zip

    基于 Spring Cloud Hoxton 、Spring Boot 2.2、 OAuth2 的RBAC权限管理系统 基于数据驱动视图的理念封装 Ant Design Vue,即使没有 vue 的使用经验也能快速上手 提供 lambda 、stream api 、webflux 的生产实践 ...

    Apress Beginning Spring Boot 2 PDF

    After reading and learning with Beginning Spring Boot 2, you'll have the skills and techniques to start building your first Spring Boot applications and microservices with confidence to take the next ...

    Pro Spring Boot 2 2nd Edition

    This revised book will show you how to fully leverage the Spring Boot 2 technology and how to apply it to create enterprise ready applications that just work. It will also cover what's been added to ...

    基于spring boot餐厅管理系统源码.zip

    基于spring boot餐厅管理系统源码 基于spring boot餐厅管理系统源码 基于spring boot餐厅管理系统源码 基于spring boot餐厅管理系统源码 基于spring boot餐厅管理系统源码 基于spring boot餐厅管理系统源码 ...

    spring boot 42讲配套源码.zip

    第 2-2 课 Spring Boot 项目中使用 JSP/spring-boot-jsp 第 2-3 课 模板引擎 Thymeleaf 基础使用/spring-boot-thymeleaf 第 2-4 课 模板引擎 Thymeleaf 高阶用法/spring-boot-thymeleaf 第 2-5 课 Thymeleaf 页面...

    基于 Spring Boot + MySQL 开发的博客系统源码.zip

    基于 Spring Boot + MySQL 开发的博客系统源码 基于 Spring Boot + MySQL 开发的博客系统源码 基于 Spring Boot + MySQL 开发的博客系统源码 基于 Spring Boot + MySQL 开发的博客系统源码 基于 Spring ...

    Spring Boot 系列教程 热部署-devtools模块

    Spring Boot 系列教程 热部署-devtools模块

    Spring Boot 视频 两套

    Spring Boot 视频 两套 包括基础一套视频和进阶一套视频

    spring Boot 2 精髓

    本书系统介绍了Spring Boot 2的主要技术,侧重于两个方面,一方面是极速开发一个Web应用系统,详细介绍Spring Boot框架、Spring MVC、视图技术、数据库访问技术,并且介绍多环境部署、自动装配、单元测试等高级特性...

    Spring Boot 2 Cookbook 第二版

    spring boot development cookbook, very good resources for java developer

Global site tag (gtag.js) - Google Analytics