# spring-boot-samples **Repository Path**: BINBIN9496/spring-boot-samples ## Basic Information - **Project Name**: spring-boot-samples - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-03-25 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## Spring Boot 学习示例 > Spring Boot 教程合集持续更新中,链接会逐步加上,敬请期待。 --- - [Spring Boot 教程合集](https://mp.weixin.qq.com/s/9vOiAxHFnfJnRwSlTfAHwg) - [Spring Boot 教程合集示例代码](https://github.com/cxy35/spring-boot-samples) --- |示例代码|相关文章| |:-|:-| |[spring-boot-helloworld](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-helloworld)|[Spring Boot 项目创建](https://mp.weixin.qq.com/s/NR00cMTdCR21-1Ur-itGlA)| |[spring-boot-properties](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-properties)|[Spring Boot 配置 properties](https://mp.weixin.qq.com/s/FQULMmjYLgHG0wjg4UYp4Q)| |[spring-boot-yaml](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-yaml)|[Spring Boot 配置 yaml](https://mp.weixin.qq.com/s/UuObDK42np5DlyPk1LUSsg)| |[spring-boot-test](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-test)|[Spring Boot 单元测试](https://mp.weixin.qq.com/s/2zVaJqWxJjpUynra5bkDNQ)| |[spring-boot-starter](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-starter)|[Spring Boot 自定义 Starter](https://mp.weixin.qq.com/s/q3yKrGyokT-2bnasGkEskg)| |[spring-boot-tomcat](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-tomcat)|Spring Boot 配置 Tomcat| |[spring-boot-profile](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-profile)|Spring Boot 配置 profile| |[spring-boot-devtools](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-devtools)|TODO - Spring Boot 整合 devtools 和 LiveReload| |[spring-boot-web](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-web)|Spring Boot 整合 Web 开发| |[spring-boot-web/spring-boot-thymeleaf](https://github.com/cxy35/spring-boot-samples/tree/masterspring-boot-web//spring-boot-thymeleaf)|[Spring Boot 整合 Thymeleaf](https://mp.weixin.qq.com/s/3E27wfdlEQVjJb1hZ5Rz9g)| |[spring-boot-web/spring-boot-freemarker](https://github.com/cxy35/spring-boot-samples/tree/masterspring-boot-web//spring-boot-freemarker)|[Spring Boot 整合 Freemarker](https://mp.weixin.qq.com/s/Nks_y5TXBHcfsbUKL5oeZw)| |[spring-boot-web/spring-boot-jsp](https://github.com/cxy35/spring-boot-samples/tree/masterspring-boot-web//spring-boot-jsp)|Spring Boot 整合 JSP| |[spring-boot-web/spring-boot-json](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-web/spring-boot-json)|[Spring Boot 整合 JSON(Jackson / Gson / FastJson)](https://mp.weixin.qq.com/s/ZFC0wYYwYb_cwitPdQiFAg)| |[spring-boot-web/spring-boot-staticresources](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-web/spring-boot-staticresources)|[Spring Boot 配置静态资源](https://mp.weixin.qq.com/s/hccivm0krDRhPrDRwTYpCg)| |[spring-boot-web/spring-boot-fileupload](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-web/spring-boot-fileupload)|Spring Boot 文件上传| |[spring-boot-web/spring-boot-controlleradvice](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-web/spring-boot-controlleradvice)|[Spring Boot 使用 @ControllerAdvice](https://mp.weixin.qq.com/s/_p6pkFx-mfFz-HEhmqR7gw)| |[spring-boot-web/spring-boot-exception](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-web/spring-boot-exception)|[Spring Boot 自定义异常处理](https://mp.weixin.qq.com/s/3i1Nh31B61gs1ZJyM-I6wA)| |[spring-boot-web/spring-boot-cors](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-web/spring-boot-cors)|[Spring Boot 通过 CORS 解决跨域问题](https://mp.weixin.qq.com/s/iZcgqpZhpOyOoLKzzl-aKg)| |[spring-boot-web/spring-boot-xml](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-web/spring-boot-xml)|Spring Boot 使用 XML 配置文件| |[spring-boot-web/spring-boot-interceptor](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-web/spring-boot-interceptor)|Spring Boot 配置拦截器 Interceptor| |[spring-boot-web/spring-boot-servlet](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-web/spring-boot-servlet)|Spring Boot 配置 Servlet/Filter/Listener| |[spring-boot-web/spring-boot-runner](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-web/spring-boot-runner)|[Spring Boot 配置系统启动任务](https://mp.weixin.qq.com/s/oyVSahgJmdIFzPxIZVxcgw)| |[spring-boot-web/spring-boot-viewcontroller](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-web/spring-boot-viewcontroller)|Spring Boot 配置 ViewController| |[spring-boot-web/spring-boot-paramconverter](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-web/spring-boot-paramconverter)|Spring Boot 配置 Converter| |[spring-boot-web/spring-boot-aop](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-web/spring-boot-aop)|Spring Boot 配置 AOP| |[spring-boot-web/spring-boot-welcome](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-web/spring-boot-welcome)|Spring Boot 配置欢迎页和 Favicon| |[spring-boot-dao](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-dao)|Spring Boot 整合持久层框架(JdbcTemplate / MyBatis / Jpa)| |[spring-boot-dao/spring-boot-jdbctemplate](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-dao/spring-boot-jdbctemplate)|[Spring Boot 整合 JdbcTemplate](https://mp.weixin.qq.com/s/ExH3Z_9bAzBKWLaOB1IIpw)| |[spring-boot-dao/spring-boot-jdbctemplatemulti](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-dao/spring-boot-jdbctemplatemulti)|[Spring Boot 整合 JdbcTemplate 多数据源](https://mp.weixin.qq.com/s/zXrznyvlcPSRau6hTt0YAg)| |[spring-boot-dao/spring-boot-mybatis](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-dao/spring-boot-mybatis)|[Spring Boot 整合 MyBatis](https://mp.weixin.qq.com/s/zvOBkU-BKAk-4yhwboZbzA)| |[spring-boot-dao/spring-boot-mybatismulti](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-dao/spring-boot-mybatismulti)|[Spring Boot 整合 MyBatis 多数据源](https://mp.weixin.qq.com/s/r73LdKw0gnELa7vSrNPOzw)| |[spring-boot-dao/spring-boot-jpa](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-dao/spring-boot-jpa)|[Spring Boot 整合 Jpa](https://mp.weixin.qq.com/s/AWQPu02VY9BD9u_PLKrL7Q)| |[spring-boot-dao/spring-boot-jpamulti](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-dao/spring-boot-jpamulti)|[Spring Boot 整合 Jpa 多数据源](https://mp.weixin.qq.com/s/lasazEB6Dx2-ZA_9fhxFHw)| |[spring-boot-nosql](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-nosql)|Spring Boot 整合 NoSQL(Redis / MongoDB)| |[spring-boot-nosql/spring-boot-redis](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-nosql/spring-boot-redis)|[Spring Boot 整合 Redis](https://mp.weixin.qq.com/s/oXwCwO0Ng24xvYo3DcXjDA)| |[spring-boot-nosql/spring-boot-redis-springsession](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-nosql/spring-boot-redis-springsession)|[Spring Boot 整合 Redis + Spring Session(实现 Session 共享)](https://mp.weixin.qq.com/s/xwvCzYfj35N2Eld9H48tsg)| |[spring-boot-nosql/spring-boot-mongodb](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-nosql/spring-boot-mongodb)|Spring Boot 整合 MongoDB| |[spring-boot-task](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-task)|[Spring Boot 配置定时任务(@Scheduled / Quartz)](https://mp.weixin.qq.com/s/8VhDY10t5ZnIxHIfEh-Trw)| |[spring-boot-task/spring-boot-scheduled](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-task/spring-boot-scheduled)|[Spring Boot 配置定时任务(@Scheduled)](https://mp.weixin.qq.com/s/8VhDY10t5ZnIxHIfEh-Trw)| |[spring-boot-task/spring-boot-quartz](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-task/spring-boot-quartz)|[Spring Boot 配置定时任务(Quartz)](https://mp.weixin.qq.com/s/8VhDY10t5ZnIxHIfEh-Trw)| |[spring-boot-swagger2](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-swagger2)|[Spring Boot 整合 Swagger2](https://mp.weixin.qq.com/s/9v8kDoqiecK5PlPo5zM8JQ)| |[spring-boot-rest](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-rest)|Spring Boot 构建 Rest 服务(Jpa / MongoDB)| |[spring-boot-rest/spring-boot-jparest](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-rest/spring-boot-jparest)|[Spring Boot 构建 Rest 服务(Jpa)](https://mp.weixin.qq.com/s/kporE2HS41shwX7X77ZEJA)| |[spring-boot-rest/spring-boot-mongodbrest](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-rest/spring-boot-mongodbrest)|Spring Boot 构建 Rest 服务(MongoDB)| |[spring-boot-cache](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-cache)|Spring Boot 整合缓存框架(Spring Cache + Redis / Ehcache)| |[spring-boot-cache/spring-boot-springcache-redis](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-cache/spring-boot-springcache-redis)|TODO - Spring Boot 整合 Spring Cache + Redis(实现数据缓存)| |[spring-boot-cache/spring-boot-springcache-ehcache](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-cache/spring-boot-springcache-ehcache)|TODO - Spring Boot 整合 Spring Cache + Ehcache(实现数据缓存)| |[spring-boot-security](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-security)|Spring Boot 整合安全管理框架(Shiro / Spring Security / OAuth2)| |[spring-boot-security/spring-boot-shirojava](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-security/spring-boot-shirojava)|TODO - Spring Boot 整合 Shiro(原生)| |[spring-boot-security/spring-boot-shirostarter](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-security/spring-boot-shirostarter)|TODO - Spring Boot 整合 Shiro(Shiro Starter)| |[spring-boot-security/spring-boot-springsecurity-helloworld](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-security/spring-boot-springsecurity-helloworld)|TODO - Spring Boot 整合 Spring Security(初次体验)| |[spring-boot-security/spring-boot-springsecurity-user](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-security/spring-boot-springsecurity-user)|TODO - Spring Boot 整合 Spring Security(配置用户/角色-基于内存)| |[spring-boot-security/spring-boot-springsecurity-userdb](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-security/spring-boot-springsecurity-userdb)|Spring Boot 整合 Spring Security(配置用户/角色-基于数据库)| |[spring-boot-security/spring-boot-springsecurity-urp](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-security/spring-boot-springsecurity-urp)|Spring Boot 整合 Spring Security(配置用户/角色/权限)| |[spring-boot-security/spring-boot-springsecurity-methodsecurity](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-security/spring-boot-springsecurity-methodsecurity)|Spring Boot 整合 Spring Security(配置方法安全)| |[spring-boot-security/spring-boot-springsecurity-httpsecurity](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-security/spring-boot-springsecurity-httpsecurity)|Spring Boot 整合 Spring Security(配置 HttpSecurity)| |[spring-boot-security/spring-boot-springsecurity-httpsecuritymulti](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-security/spring-boot-springsecurity-httpsecuritymulti)|Spring Boot 整合 Spring Security(配置多个 HttpSecurity)| |[spring-boot-security/spring-boot-springsecurity-verifycode](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-security/spring-boot-springsecurity-verifycode)|TODO - Spring Boot 整合 Spring Security(配置验证码)| |[spring-boot-security/spring-boot-springsecurity-login](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-security/spring-boot-springsecurity-login)|TODO - Spring Boot 整合 Spring Security(配置登录/登出)| |[spring-boot-security/spring-boot-springsecurity-loginbyjson](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-security/spring-boot-springsecurity-loginbyjson)|TODO - Spring Boot 整合 Spring Security(使用 JSON 格式数据登录)| |[spring-boot-security/spring-boot-springsecurity-jwt](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-security/spring-boot-springsecurity-jwt)|TODO - Spring Boot 整合 Spring Security + JWT| |[spring-boot-security/spring-boot-springsecurity-oauth2](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-security/spring-boot-springsecurity-oauth2)|Spring Boot 整合 Spring Security + OAuth2 + Redis| |[spring-boot-mail](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-mail)|TODO - Spring Boot 整合邮件发送| |[spring-boot-message](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-message)|Spring Boot 整合消息服务(WebSocket / ActiveMQ / RabbitMQ)| |[spring-boot-message/spring-boot-websocket-groupchat](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-message/spring-boot-websocket-groupchat)|Spring Boot 整合 WebSocket,实现在线群聊| |[spring-boot-message/spring-boot-websocket-privatechat](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-message/spring-boot-websocket-privatechat)|Spring Boot 整合 WebSocket,实现在线私聊| |[spring-boot-message/spring-boot-activemq](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-message/spring-boot-activemq)|Spring Boot 整合 ActiveMQ| |[spring-boot-message/spring-boot-rabbitmq](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-message/spring-boot-rabbitmq)|Spring Boot 整合 RabbitMQ| |[spring-boot-monitor](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-monitor)|Spring Boot 整合监控服务(Admin)| |[spring-boot-monitor/spring-boot-admin-server](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-monitor/spring-boot-admin-server)|Spring Boot Admin Server| |[spring-boot-monitor/spring-boot-admin-client](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-monitor/spring-boot-admin-client)|Spring Boot Admin Client| |[spring-boot-war](https://github.com/cxy35/spring-boot-samples/tree/master/spring-boot-war)|Spring Boot 打 War 包| --- 扫码关注微信公众号 **程序员35** ,获取最新技术干货,畅聊 #程序员的35,35的程序员# 。独立站点:[https://cxy35.com](https://cxy35.com) ![](https://oscimg.oschina.net/oscnet/up-285838b9c516db5bb1ba760f292f2346078.JPEG)