# SpringBootAction **Repository Path**: yxrswx/SpringBootAction ## Basic Information - **Project Name**: SpringBootAction - **Description**: SpringBoot 实战 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-12-24 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # SpringBootAction SpringBoot 实战 ## SpringBootMybatis - Boot+Mybatis 实现对User的增删改查 - 创建时间 : 2017/4/26 - 功能 1. 异常处理 2. 封装dto 3. 测试文件上传下载 4. 使用easypoi导出 excel 5. 实现增删改查(两种方式) ## SpringBootJPA - SpringBoot+JPA实现对User的增删改查 - 功能 1. RESTful风格的CURD 2. 定时任务 3. 缓存使用 4. 测试Model、ModelMap、ModelAndView 5. dto以及异常处理 6. swagger2 ## SpringBootMongoTemplate - 利用 MongoTemplate 实现增删改查 - 批量更新 - 使用DBObject抽象Java Object - lookup 关联查询 ## Spring Boot2 - 依赖下载,maven配置: ` nexus-aliyun central Nexus aliyun http://maven.aliyun.com/nexus/content/groups/public ` - 使用 @Async 实现异步调用 - CommandLineRunner 在程序启动初进行初始化操作 - 读取配置文件属性 ## SpringBoot + Hystrix - SpringBoot 结合 Hystrix 熔断器 - 进行接口超时设置 ## Spring 5 Reactive Webflux - Spring 5 - Spring webflux 是一个新的非堵塞函数式 Reactive Web 框架,可以用来建立异步的,非阻塞,事件驱动的服务,并且扩展性非常好。 - 参考: [文章](http://www.lupaworld.com/article-263775-1.html) [源码](https://github.com/srpraneeth/spring5-reactive) ## Spring Boot Dynamic DataSource - Spring Boot 和 MyBatis 实现多数据源、动态数据源切换 - 完成时间: 2018/2/27 - 效果:多次访问 /product/1 - [参考](https://github.com/helloworlde/SpringBoot-DynamicDataSource)