GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — SpringBoot-Learning/2.x at master · liming198/SpringBoot-Learning

Expand file tree

/

2.x

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

2.x

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
chapter1-1
chapter1-1
 
 
chapter1-2
chapter1-2
 
 
chapter1-3
chapter1-3
 
 
chapter1-4
chapter1-4
 
 
chapter1-5
chapter1-5
 
 
chapter2-1
chapter2-1
 
 
chapter2-2
chapter2-2
 
 
chapter2-3
chapter2-3
 
 
chapter2-4
chapter2-4
 
 
chapter2-5
chapter2-5
 
 
chapter2-6
chapter2-6
 
 
chapter2-7
chapter2-7
 
 
chapter2-8
chapter2-8
 
 
chapter2-9
chapter2-9
 
 
chapter3-1
chapter3-1
 
 
chapter3-10
chapter3-10
 
 
chapter3-11
chapter3-11
 
 
chapter3-12
chapter3-12
 
 
chapter3-13
chapter3-13
 
 
chapter3-2
chapter3-2
 
 
chapter3-3
chapter3-3
 
 
chapter3-4
chapter3-4
 
 
chapter3-5
chapter3-5
 
 
chapter3-6
chapter3-6
 
 
chapter3-7
chapter3-7
 
 
chapter3-8
chapter3-8
 
 
chapter3-9
chapter3-9
 
 
chapter4-1
chapter4-1
 
 
chapter4-2
chapter4-2
 
 
chapter4-3
chapter4-3
 
 
chapter4-4
chapter4-4
 
 
chapter4-5
chapter4-5
 
 
chapter5-1
chapter5-1
 
 
chapter5-2
chapter5-2
 
 
chapter5-3
chapter5-3
 
 
chapter5-4
chapter5-4
 
 
chapter5-5
chapter5-5
 
 
chapter6-1
chapter6-1
 
 
chapter6-2
chapter6-2
 
 
chapter6-3
chapter6-3
 
 
chapter6-4
chapter6-4
 
 
chapter7-1
chapter7-1
 
 
chapter7-2
chapter7-2
 
 
chapter7-3
chapter7-3
 
 
chapter7-4
chapter7-4
 
 
chapter7-5
chapter7-5
 
 
chapter7-6
chapter7-6
 
 
chapter7-7
chapter7-7
 
 
chapter7-8
chapter7-8
 
 
chapter8-1
chapter8-1
 
 
chapter8-2
chapter8-2
 
 
chapter8-3
chapter8-3
 
 
README.md
README.md
 
 
README_zh.md
README_zh.md
 
 
pom.xml
pom.xml
 
 

README.md

Outline

Spring Boot基础教程(2.x版本)

本项目内容为《Spring Boot基础教程》的程序样例。

专题目标:打造全网内容最全,比收费教程更好的Spring Boot免费教程!

加入社群:如果你正在学习Spring Boot,不妨加入我们的Spring技术交流群 ,一起成长

Spring社区:如果您在学习过程中碰到问题,可以访问SpringForAll社区,描述你的问题,我们会尽快给你答复。当然,如果你想分享你的学习经验,也可以在这里发表你的文章

如何支持:

  1. 关注我的公众号”程序猿DD“
  2. 点个Star并Follow我
  3. 把该仓库分享给更多的朋友

教程目录(2.x版本)

本教程内容持续更新连载中!Star关注支持一下,随时获得更新信息!

快速入门

  • Spring Boot 2.x基础教程:版本关系
  • Spring Boot 2.x基础教程:快速入门
  • Spring Boot 2.x基础教程:工程结构推荐

配置详解

  • Spring Boot 2.x基础教程:配置文件详解
  • Spring Boot 2.x基础教程:2.4版本前后的多环境配置变化
  • Spring Boot 2.x基础教程:2.4版本前后的分组配置变化
  • Spring Boot 2.x基础教程:配置元数据的应用
  • Spring Boot 2.x基础教程:加密配置中的敏感信息

API开发

  • Spring Boot 2.x基础教程:构建RESTful API与单元测试
  • Spring Boot 2.x基础教程:使用Swagger2构建强大的API文档
  • Spring Boot 2.x基础教程:JSR-303实现请求参数校验
  • Spring Boot 2.x基础教程:Swagger接口分类与各元素排序问题详解
  • Spring Boot 2.x基础教程:Swagger静态文档的生成
  • Spring Boot 2.x基础教程:找回启动日志中的请求路径列表
  • Spring Boot 2.x基础教程:使用SpringFox 3生成Swagger文档
  • Spring Boot 2.x基础教程:如何扩展XML格式的请求和响应

数据访问

关系型数据库

  • Spring Boot 2.x基础教程:使用JdbcTemplate访问MySQL数据库
  • Spring Boot 2.x基础教程:默认数据源Hikari的配置详解
  • Spring Boot 2.x基础教程:使用国产数据库连接池Druid
  • Spring Boot 2.x基础教程:使用Spring Data JPA访问MySQL
  • Spring Boot 2.x基础教程:使用MyBatis访问MySQL
  • Spring Boot 2.x基础教程:使用MyBatis的XML配置方式
  • Spring Boot 2.x基础教程:JdbcTemplate的多数据源配置
  • Spring Boot 2.x基础教程:Spring Data JPA的多数据源配置
  • Spring Boot 2.x基础教程:MyBatis的多数据源配置
  • Spring Boot 2.x基础教程:事务管理入门
  • Spring Boot 2.x基础教程:使用Flyway管理数据库版本
  • Spring Boot 2.x基础教程:使用JTA实现多数据源的事务管理
  • Spring Boot 2.x基础教程:2.5版本后数据脚本初始化的变动

加速利器:各种缓存的使用

  • Spring Boot 2.x基础教程:进程内缓存的使用与Cache注解详解
  • Spring Boot 2.x基础教程:EhCache缓存的使用
  • Spring Boot 2.x基础教程:使用EhCache缓存集群
  • Spring Boot 2.x基础教程:使用集中式缓存Redis
  • Spring Boot 2.x基础教程:使用Redis的发布订阅功能

其他常见存储的使用

  • Spring Boot 2.x基础教程:使用MongoDB
  • Spring Boot 2.x基础教程:使用LDAP来管理用户与组织数据
  • Spring Boot 2.x基础教程:使用时序数据库InfluxDB
  • Spring Boot 2.x基础教程:使用PostgreSQL

Web开发

  • Spring Boot 2.x基础教程:使用 Thymeleaf开发Web页面
  • Spring Boot 2.x基础教程:使用 ECharts 绘制各种华丽的数据图表
  • Spring Boot 2.x基础教程:实现文件上传
  • Spring Boot 2.x基础教程:多个文件的上传
  • Spring Boot 2.x基础教程:文件上传的单元测试怎么写

任务管理

定时任务

  • Spring Boot 2.x基础教程:使用@Scheduled实现定时任务
  • Spring Boot 2.x基础教程:使用Elastic Job实现定时任务
  • Spring Boot 2.x基础教程:使用Elastic Job的分片配置提高执行效率
  • Spring Boot 2.x基础教程:使用Elastic Job的namespace防止任务名冲突

异步任务

  • Spring Boot 2.x基础教程:使用@Async实现异步任务
  • Spring Boot 2.x基础教程:配置@Async异步任务的线程池
  • Spring Boot 2.x基础教程:如何隔离@Async异步任务的线程池
  • Spring Boot 2.x基础教程:配置线程池的拒绝策略

日志管理

  • Spring Boot 2.x基础教程:默认日志管理与Logback配置详解
  • Spring Boot 2.x基础教程:使用log4j2记录日志
  • Spring Boot 2.x基础教程:使用tinylog记录日志

其他内容

  • Spring Boot自定义启动Banner
  • 实现邮件发送:简单邮件、附件邮件、嵌入资源的邮件、模板邮件
  • 使用Spring StateMachine框架实现状态机
  • Spring Boot应用的后台运行配置

进阶与深入

  • 什么时候不要使用@Autowire
  • 为什么加了@Transactional注解,事务没有回滚?
  • 为什么启动时候API路径都没了?
  • 使用Java 8中LocalDate等时间日期类的问题解决
  • Request header is too large 如何解决?
  • Spring Boot自动化配置的利弊及解决之道

版本资讯

1.x到2.x

  • Spring Boot 2.0 正式发布,升还是不升呢?
  • Spring Boot 2.0 新特性和发展方向
  • Spring Boot 2.0 与 Java 9
  • Spring Boot 2.0 新特性(一):配置绑定 2.0 全解析
  • Spring Boot 2.0 新特性(二):新增事件ApplicationStartedEvent

更多关于2.x的版本信息可查看点击查看

我的公众号

推荐我的书

Spring Boot微服务实战

特别赞助商

如果您也想赞助支持并出现在上表中的话,可以通过邮件联系我:[email protected]

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.