本项目内容为Spring Boot教程程序样例。
作者博客:http://blog.didispace.com 作者GitHub:https://github.com/dyc87112/SpringBoot-Learning
Spring Boot系列博文:http://blog.didispace.com/categories/Spring-Boot/Spring Cloud系列博文:http://blog.didispace.com/tag/spring-cloud/Spring For All社区:http://spring4all.com/GitHub:https://github.com/dyc87112/开源中国:http://git.oschina.net/didispace
快速入门
chapter1:基本项目构建(可作为工程脚手架),引入web模块,完成一个简单的RESTful API使用Intellij中的Spring Initializr来快速构建Spring Boot/Cloud工程
工程配置
chapter2-1-1:配置文件详解:自定义属性、随机数、多环境配置等
Web开发
chapter3-1-1:构建一个较为复杂的RESTful API以及单元测试chapter3-1-2:使用Thymeleaf模板引擎渲染web视图chapter3-1-3:使用Freemarker模板引擎渲染web视图chapter3-1-4:使用Velocity模板引擎渲染web视图chapter3-1-5:使用Swagger2构建RESTful APIchapter3-1-6:统一异常处理
数据访问
chapter3-2-1:使用JdbcTemplatechapter3-2-2:使用Spring-data-jpa简化数据访问层(推荐)chapter3-2-3:多数据源配置(一):JdbcTemplatechapter3-2-4:多数据源配置(二):Spring-data-jpachapter3-2-5:使用NoSQL数据库(一):Redischapter3-2-6:使用NoSQL数据库(二):MongoDBchapter3-2-7:整合MyBatischapter3-2-8:MyBatis注解配置详解
事务管理
chapter3-3-1:使用事务管理chapter3-3-2:[分布式事务(未完成)]
其他内容
chapter4-1-1:使用@Scheduled创建定时任务chapter4-1-2:使用@Async实现异步调用
日志管理
chapter4-2-1:默认日志的配置chapter4-2-2:使用log4j记录日志chapter4-2-3:对log4j进行多环境不同日志级别的控制chapter4-2-4:使用AOP统一处理Web请求日志chapter4-2-5:使用log4j记录日志到MongoDBchapter4-2-6:Spring Boot 1.5.x新特性:动态修改日志级别]
安全管理
chapter4-3-1:使用Spring Securitychapter4-3-2:[使用Spring Session(未完成)]
缓存支持
chapter4-4-1:注解配置与EhCache使用chapter4-4-2:使用Redis做集中式缓存
邮件发送
chapter4-5-1:实现邮件发送:简单邮件、附件邮件、嵌入资源的邮件、模板邮件
消息服务
chapter5-1-1:[JMS(未完成)]chapter5-2-1:Spring Boot中使用RabbitMQ
其他功能
chapter6-1-1:使用Spring StateMachine框架实现状态机Spring Boot Actuator监控端点小结在传统Spring应用中使用spring-boot-actuator模块提供监控端点Spring Boot应用的后台运行配置Spring Boot自定义Banner
Dubbo进行服务治理
chapter9-2-1:[Spring Boot中使用Dubbo进行服务治理]chapter9-2-2:[Spring Boot与Dubbo中管理服务依赖]
Spring Cloud构建微服务架构
由于Spring Cloud偏宏观架构,Spring Boot偏微观细节,内容上越来越多,为了两部分内容不互相干扰,所以迁移Spring Cloud内容到:SpringCloud-Learning项目,该项目将不再更新Spring Cloud内容,关注Spring Cloud内容的请移步至SpringCloud-Learning项目
chapter9-1-1:Spring Cloud构建微服务架构(一)服务注册与发现chapter9-1-2:Spring Cloud构建微服务架构(二)服务消费者chapter9-1-3:Spring Cloud构建微服务架构(三)断路器chapter9-1-4:Spring Cloud构建微服务架构(四)分布式配置中心chapter9-1-5:Spring Cloud构建微服务架构(五)服务网关chapter9-1-6:[Spring Cloud构建微服务架构(六)集群监控]
快速入门
chapter1:基本项目构建(可作为工程脚手架),引入web模块,完成一个简单的RESTful API使用Intellij中的Spring Initializr来快速构建Spring Boot/Cloud工程
工程配置
chapter2-1-1:配置文件详解:自定义属性、随机数、多环境配置等
Web开发
chapter3-1-1:构建一个较为复杂的RESTful API以及单元测试chapter3-1-2:使用Thymeleaf模板引擎渲染web视图chapter3-1-3:使用Freemarker模板引擎渲染web视图chapter3-1-4:使用Velocity模板引擎渲染web视图chapter3-1-5:使用Swagger2构建RESTful APIchapter3-1-6:统一异常处理
数据访问
chapter3-2-1:使用JdbcTemplatechapter3-2-2:使用Spring-data-jpa简化数据访问层(推荐)chapter3-2-3:多数据源配置(一):JdbcTemplatechapter3-2-4:多数据源配置(二):Spring-data-jpachapter3-2-5:使用NoSQL数据库(一):Redischapter3-2-6:使用NoSQL数据库(二):MongoDBchapter3-2-7:整合MyBatischapter3-2-8:MyBatis注解配置详解
事务管理
chapter3-3-1:使用事务管理chapter3-3-2:[分布式事务(未完成)]
其他内容
chapter4-1-1:使用@Scheduled创建定时任务chapter4-1-2:使用@Async实现异步调用
日志管理
chapter4-2-1:默认日志的配置chapter4-2-2:使用log4j记录日志chapter4-2-3:对log4j进行多环境不同日志级别的控制chapter4-2-4:使用AOP统一处理Web请求日志chapter4-2-5:使用log4j记录日志到MongoDBchapter4-2-6:Spring Boot 1.5.x新特性:动态修改日志级别]
安全管理
chapter4-3-1:使用Spring Securitychapter4-3-2:[使用Spring Session(未完成)]
缓存支持
chapter4-4-1:注解配置与EhCache使用chapter4-4-2:使用Redis做集中式缓存
邮件发送
chapter4-5-1:实现邮件发送:简单邮件、附件邮件、嵌入资源的邮件、模板邮件
消息服务
chapter5-1-1:[JMS(未完成)]chapter5-2-1:Spring Boot中使用RabbitMQ
其他功能
chapter6-1-1:使用Spring StateMachine框架实现状态机Spring Boot Actuator监控端点小结在传统Spring应用中使用spring-boot-actuator模块提供监控端点Spring Boot应用的后台运行配置Spring Boot自定义Banner
Dubbo进行服务治理
chapter9-2-1:[Spring Boot中使用Dubbo进行服务治理]chapter9-2-2:[Spring Boot与Dubbo中管理服务依赖]
Spring Cloud构建微服务架构
由于Spring Cloud偏宏观架构,Spring Boot偏微观细节,内容上越来越多,为了两部分内容不互相干扰,所以迁移Spring Cloud内容到:SpringCloud-Learning项目,该项目将不再更新Spring Cloud内容,关注Spring Cloud内容的请移步至SpringCloud-Learning项目
chapter9-1-1:Spring Cloud构建微服务架构(一)服务注册与发现chapter9-1-2:Spring Cloud构建微服务架构(二)服务消费者chapter9-1-3:Spring Cloud构建微服务架构(三)断路器chapter9-1-4:Spring Cloud构建微服务架构(四)分布式配置中心chapter9-1-5:Spring Cloud构建微服务架构(五)服务网关chapter9-1-6:[Spring Cloud构建微服务架构(六)集群监控]