# DEMO_SpringBoot **Repository Path**: CodeCompilerConduct/DEMO_SpringBoot ## Basic Information - **Project Name**: DEMO_SpringBoot - **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-12-26 - **Last Updated**: 2020-12-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## SpringBoot学习相关示例 ### 1.springboot_activeMq_P2P ActiveMq的P2P模式例子 ### 2.springboot_activeMq_PubSub ActiveMq的Pub/Sub模式例子 ### 3.springboot_Async SpringBoot使用@Async标签实现异步调用 ### 4.springboot_ExceptionHandler SpringBoot中的全局异常处理 ### 5.springboot_interceptor SpringBoot中使用拦截器 ### 6.springboot_transaction SpringBoot中使用事务 ### 7.springboot_redis_cache1 SpringBoot中使用Spring+redis实现缓存 ### 8.springboot_redis_cache2 SpringBoot中使用redis实现缓存 ### 9.springboot_swagger2 这里使用的是2.9.2的版本,功能比较完善,界面也非常好看。 添加了权限认证,针对需要进行权限认证的接口在请求的header中加入统一的权限认证参数。 ### 10.springboot-mongodb 针对Spring Boot对mongodb的使用的演示,这里展示了MongoTemplate和MongoRepository的详细使用方法。 在使用MongoTemplate的过程中,我们可以发现针对条件的使用主要是依靠Query和Criteria这两个类来实现。 Query里面包含了分页和排序的功能。而Criteria里面就包含了分组,模糊查询等功能。