Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bubblessss/spring-boot-demo
springboot 2.1+整合各种技术
https://github.com/bubblessss/spring-boot-demo
activemq aop async atomikos-jta banner command condition docker elasticsearch exception java8 jpa mongodb multidatasource mybatis rabbitmq redis redisson spring-boot swagger
Last synced: 3 months ago
JSON representation
springboot 2.1+整合各种技术
- Host: GitHub
- URL: https://github.com/bubblessss/spring-boot-demo
- Owner: Bubblessss
- Created: 2019-05-29T09:25:31.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-07-22T07:00:21.000Z (over 1 year ago)
- Last Synced: 2024-10-13T04:21:44.896Z (3 months ago)
- Topics: activemq, aop, async, atomikos-jta, banner, command, condition, docker, elasticsearch, exception, java8, jpa, mongodb, multidatasource, mybatis, rabbitmq, redis, redisson, spring-boot, swagger
- Language: Java
- Homepage:
- Size: 253 KB
- Stars: 103
- Watchers: 9
- Forks: 50
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# spring-boot-demo
- springboot 2.0+整合各种技术- 点击添加springboot全系列技术交流qq群:[822132747](http://shang.qq.com/wpa/qunwpa?idkey=5bad2b8f8696a3fa80a906df2624de5560b3ab8614c817c3bab7d21270f77e93)
- 所有的测试用例均在springboot默认生成的test文件夹下的测试类里
- √:完结 "":正在更 ×:待更
模块快速预览:
[√spring-boot-design-pattern](https://github.com/Bubblessss/spring-boot-demo/tree/master/spring-boot-design-pattern):常见的设计模式:观察者模式、...
[√spring-boot-condition](https://github.com/Bubblessss/spring-boot-demo/tree/master/spring-boot-condition):测试配置类条件注解:@conditional、@ConditionalOnBean、@ConditionalOnMissingBean
[√spring-boot-async](https://github.com/Bubblessss/spring-boot-demo/tree/master/spring-boot-async):测试spring异步注解:@Async,覆盖默认线程池自定义线程池,无返回值纯异步、有返回值Future、有返回值CompletableFuture
[√spring-boot-redis](https://github.com/Bubblessss/spring-boot-demo/tree/master/spring-boot-redis):整合redis,7大数据类型:string、list、set、zset、hash、geo、hyperloglog
[√spring-boot-redisson](https://github.com/Bubblessss/spring-boot-demo/tree/master/spring-boot-redisson):整合redisson实现分布式锁
[spring-boot-java8stream](https://github.com/Bubblessss/spring-boot-demo/tree/master/spring-boot-java8stream):optional判空替代ifnull优化代码、stream集合增强处理
[spring-boot-websocket](https://github.com/Bubblessss/spring-boot-demo/tree/master/spring-boot-websocket):整合websocket,用vue写了个在线聊天的demo实现消息广播和点对点
×spring-boot-redisCluster:整合redis cluster[√spring-boot-aoplog](https://github.com/Bubblessss/spring-boot-demo/tree/master/spring-boot-aoplog):利用spring aop自定义注解记录日志
[√spring-boot-jwt](https://github.com/Bubblessss/spring-boot-demo/tree/master/spring-boot-jwt):整合jwt做请求认证,自定义拦截器统一校验jwt合法性和自定义参数解析器将jwt里的用户映射到参数里
[√spring-boot-swagger](https://github.com/Bubblessss/spring-boot-demo/tree/master/spring-boot-swagger):前后端分离开发接口在线文档神器
[√spring-boot-banner](https://github.com/Bubblessss/spring-boot-demo/tree/master/spring-boot-banner):自定义启动打印banner
[√spring-boot-command](https://github.com/Bubblessss/spring-boot-demo/tree/master/spring-boot-command):项目启动时去做某些事,比如初始化资源,自动打开浏览器定位到首页
[√spring-boot-exception](https://github.com/Bubblessss/spring-boot-demo/tree/master/spring-boot-exception):使用@RestControllerAdvice做全局rest异常统一处理
[√spring-boot-activemq](https://github.com/Bubblessss/spring-boot-demo/tree/master/spring-boot-activemq):整合activemq,使用连接池,同时支持2种模式[topic-消息群通知、queue-p2p通知]、delay(延时队列)、双向队列、手动ack模型
[√spring-boot-rabbitmq](https://github.com/Bubblessss/spring-boot-demo/tree/master/spring-boot-rabbitmq):整合rabbitmq,测试Fanout、Direct、Topic交换机、Alternate备份交换机,基于TTL+DLX实现的延时队列和基于rabbitmq_delayed_message_exchange插件实现的延时队列
[√spring-boot-elasticsearch](https://github.com/Bubblessss/spring-boot-demo/tree/master/spring-boot-elasticsearch):整合搜索引擎ES,实现全文模糊分词检索,单/多字段分词模糊检索,聚合操作,高亮字段,ElasticSearchTemplate和ElasticSearchRepository的使用
[√spring-boot-docker](https://github.com/Bubblessss/spring-boot-demo/tree/master/spring-boot-docker):第一个docker容器的springboot应用,使用idea的docker插件搭配dockerfile构建,更简单方便,没用maven构建
[√spring-boot-jpa](https://github.com/Bubblessss/spring-boot-demo/tree/master/spring-boot-jpa):整合新型orm框架jpa
[√spring-boot-mybatis](https://github.com/Bubblessss/spring-boot-demo/tree/master/spring-boot-mybatis):整合主流orm框架mybatis
[√spring-boot-multidatasource](https://github.com/Bubblessss/spring-boot-demo/tree/master/spring-boot-multidatasource):整合多数据源
[√spring-boot-atomikos-jta](https://github.com/Bubblessss/spring-boot-demo/tree/master/spring-boot-atomikos-jta):整合基于简单2PC协议的atomikos-jta分布式事务,该方式配置实现简单但是效率较低
[√spring-boot-mongodb](https://github.com/Bubblessss/spring-boot-demo/tree/master/spring-boot-mongodb):整合主流Nosql框架mongodb,记录系统访问/响应日志
[√spring-boot-mail](https://github.com/Bubblessss/spring-boot-demo/tree/master/spring-boot-mail):使用springmail快速发邮件,文本邮件,附件邮件,html邮件,html内联图片邮件
[√spring-boot-thymeleaf](https://github.com/Bubblessss/spring-boot-demo/tree/master/spring-boot-thymeleaf):整合官网推荐主流模版引擎thymeleaf
[√spring-boot-logback](https://github.com/Bubblessss/spring-boot-demo/tree/master/spring-boot-logback):使用springboot自带日志框架logback记录日志
[√spring-boot-shiro](https://github.com/Bubblessss/spring-boot-demo/tree/master/spring-boot-shiro):整合简单好用的权限框架shiro实现认证和授权
[√spring-boot-scheduler](https://github.com/Bubblessss/spring-boot-demo/tree/master/spring-boot-scheduler):整合spring定时任务scheduler
×spring-boot-quartz:整合传统定时任务quartz
[√spring-boot-easypoi](https://github.com/Bubblessss/spring-boot-demo/tree/master/spring-boot-easypoi):整合新型超简单excel处理框架easypoi
[√spring-boot-bloomfilter](https://github.com/Bubblessss/spring-boot-demo/tree/master/spring-boot-bloomfilter):测试海量数据内存紧张情况下黑名单过滤,垃圾邮件判别