java-developer-document - 别人的学习笔记
史上最全MySQL各种锁详解 - 这个语雀笔记比较包含了海量的面试题和总结
Spring All系列教程
该仓库为个人博客https://mrbird.cc中Spring系列源码,包含Spring Boot、Spring Boot & Shiro、Spring Cloud,Spring Boot & Spring Security & Spring Security OAuth2,如果该系列教程对您有帮助的话,还请点个star给予精神支持!🐤
Spring Boot教程
- 开启Spring Boot
- Spring Boot基础配置
- Spring Boot中使用MyBatis
- Spring Boot中使用JdbcTemplate
- Spring Boot MyBatis配置Druid多数据源
- Spring Boot JdbcTemplate配置Druid多数据源
- Spring Boot AOP记录用户操作日志
- Spring Boot中使用thymeleaf
- Spring Boot中使用Redis缓存数据
- Spring Boot中使用Ehcache缓存数据
- Spring Boot中的JSON技术
- Spring Boot中编写单元测试
- Spring Boot整合Swagger2构建RESTful API
- 使用Actuator监控Spring Boot应用
- 使用Spring Boot发送邮件
- 使用Spring Boot Admin监控服务
- Spring Boot Devtools热部署
- Spring Boot logback日志配置
- Spring Boot项目打包成war包
- Linux下部署Spring Boot jar
- Spring Boot中使用Jsoup防御XSS攻击
- Spring Boot异常处理
- Spring Boot中使用过滤器和拦截器
- Spring Boot整合MyBatis通用Mapper和PageHelper
- 深入学习Spring Boot自动装配
- 深入学习Spring Boot中的SpringApplication
- Spring Boot配合Hibernate Validator参数校验
- 自定义Spring Boot 内容协商
- Spring Boot 中处理跨域
- Spring Boot 中的异步调用
- Spring Boot 整合Kafka
- Spring Boot整合Mongo DB
- Spring Boot 2.0 WebFlux编程
- Spring Boot WebFlux增删改查样例
- Spring Boot整合WebSocket
Spring Boot & Shiro教程
- Spring Boot Shiro用户认证
- Spring Boot Shiro Remember Me
- Spring Boot Shiro权限控制
- Spring Boot Shiro Redis
- Spring Boot Shiro Ehcache
- Spring Boot Thymeleaf中使用Shiro标签
- Spring Boot Shiro在线会话管理
- Spring Boot Shiro整合JWT
Spring Boot & Security教程
- Spring Boot中开启Spring Security
- Spring Security自定义用户认证
- Spring Security添加图形验证码
- Spring Security添加记住我功能
- Spring Security短信验证码登录
- Spring Security Session管理
- Spring Security退出登录
- Spring Security权限控制
- Spring Security OAuth2入门
- Spring Security OAuth2自定义Token获取方式
- Spring Security OAuth2自定义令牌配置
- Spring Security OAuth2单点登录
Spring Cloud教程
- 初识Spring Cloud与微服务
- Spring Cloud Eureka服务治理
- Spring Cloud Ribbon客户端负载均衡
- Spring Cloud Hystrix服务容错
- Spring Cloud Hystrix Dashboard仪表盘
- Spring Cloud Hystrix Dashboard仪表盘 & RabbitMQ
- Spring Cloud Feign 声明式服务调用
- Spring Cloud Zuul服务网关
- Spring Cloud Config统一配置管理
- 使用Spring Cloud Bus刷新配置
- 使用Spring Cloud Sleuth跟踪微服务
- Spring Cloud Consul服务治理
- Spring Cloud Alibaba Nacos注册中心
- Spring Cloud Alibaba Nacos配置中心
- Spring Cloud Alibaba Sentinel控制台详解
- Spring Cloud Alibaba Sentinel @SentinelResource
Spring Boot && Dubbo教程
Spring Boot && Spring Batch教程
- Spring Batch入门
- Spring Batch读取数据
- Spring Batch输出数据
- Spring Batch处理数据
- Spring Batch监听器
- Spring Batch异常处理
- Spring Batch任务调度
Spring
- 深入学习Spring组件注册
- 深入学习Spring Bean生命周期
- 深入理解Spring BeanPostProcessor & InstantiationAwareBeanPostProcessor
- 深入理解BeanFactoryPostProcessor & BeanDefinitionRegistryPostProcessor
- 深入理解Spring AOP原理
- Spring声明式事务原理
- 深入理解Spring事件发布与监听
- 深入理解Spring循环依赖
持续更新中…
=======================
官网
https://huanzi-qch.gitee.io/spring-boot
简介
SpringBoot系列Demo代码
SpringBoot用的是2.1.0.RELEASE,Demo代码主要参照官方文档,以及百度、google写的,每一个子工程就是一个小案例,简单明了
这里的测试例子基本上跟博客的一样,没什么修改,大家看博客就好了
还是有很多人觉得这个项目太乱了,分不清子项目、父项目的关系,以及子项目直接的关系,我在这里简单描述一下
父项目是一个maven项目,继承spring-boot-starter-parent,同时引入了部分公用依赖
<!-- 父类继承spring-boot-starter-parent -->
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.1.0.RELEASE</version>
<relativePath/>
</parent>
<!-- 在父类引入一下通用的依赖 -->
<dependencies>
<!-- spring-boot-starter -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
</dependency>
<!-- springboot web(MVC)-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<!-- springboot -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<!--lombok插件 -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</dependency>
<!--热部署工具dev-tools-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<optional>true</optional>
<scope>runtime</scope>
</dependency>
</dependencies>
每个子项目都是一个独立的SpringBoot项目,子项目直接继承父类
<!--继承父类-->
<parent>
<groupId>cn.huanzi.qch</groupId>
<artifactId>parent</artifactId>
<version>1.0.0</version>
</parent>
每个子项目都是SpringBoot的一个知识点或者说技能点,具体见名思意!子项目相互之间并无关系,具体的知识点介绍都有对应的博客,详情请看下方的“前往博客查看详情”
仓库地址
国外:https://github.com/huanzi-qch/springBoot
国内:https://gitee.com/huanzi-qch/springBoot
前往博客查看详情
具体介绍请看我的博客《SpringBoot系列》
学习资料
Spring全家桶的GitHub:https://github.com/spring-projects
SpringBoot官方文档:https://spring.io/projects/spring-boot
StringBoot官方GitHub:https://github.com/spring-projects/spring-boot
SpringBoot官方的简单引导案例:https://github.com/spring-projects/spring-boot/tree/v2.1.6.RELEASE/spring-boot-samples
这些资料有丰富的文档介绍、代码示例