常用技术用法实践。
- Java实战 (java_in_action)
- 设计模式 (designpatterns_in_action)
- 算法题 (leetcode_in_action)
- Spring系列实战 (spring_in_action)
- MainController
- 简单rest接口测试
- UserController
-
- hutool:hutool工具类测试
- ExcelUtilDemo:Excel工具使用示例
- JsonUtilDemo:Json工具使用示例
- StrUtilDemo null:字符串工具使用示例
- BloomFilterUtil:布隆过滤器示例
- ConcurrentHashSet:ConcurrentHashSet实现
- ConsoleColorUtil:System.out.println打印自定义文本颜色、状态
- DateUtil:日期时间工具示例
- ChronoUnit:时间单位枚举
- JsonUtil:Json工具示例
ObjectUtil:对象工具类(对象校验、Bean转换)可使用mapstruct进行bean转换- mapstruct:mapstruct对象转换工具(编译期运行生成getter/setter,比spring的BeanUtils使用反射 效率高)官方文档
- RandomUtil:随机数工具(安全随机数)
- StringUtil:字符串工具(字符串校验)
- SystemStatusInfoStatisticsUtil:系统状态统计(cpu、堆栈、内存等使用率)
- LoanUtil:贷款计算器(支持:还款类型:等额本息、等额本金;贷款类型:商贷、公积金贷、混合贷)
- hutool:hutool工具类测试
-
aop:aop定义
- ThreadPoolUtil:线程池工具
-
async:@Async异步任务定义、测试
-
enums:枚举目录
- ZoneIdEnum:时区枚举定义
-
exception:异常目录
- DisplayableException:自定义抛异常
- GlobalExceptionHandler:全局异常处理
-
result:result目录
- JsonResult:返回结果定义
- ResultEnum:返回结果枚举值定义
-
service:service目录
- ThreadMetricService:线程统计服务
- ThreadLocalService:ThreadLocal服务
- ThreadPoolService:自定义线程池服务
-
test:测试目录
- ThreadLocalTest:ThreadLocal简单测试
百度开源配置中心。
阿里-Apache开源RPC框架
阿里开源注册中心、配置中心
iot相关
- 设备事件服务
- 策略模式,按业务类型、事件类型分发给具体Handler处理。
阿里开源的分布式事务组件。
阿里开源的分布式流控组件
领域驱动设计Demo
编写一个mqtt broker TODO
组件 | 作用 | 链接 |
---|---|---|
Consul | 服务发现与注册中心(其他:SpringCloudZookeeper、Nacos) | |
Feign | 端到端调用 | |
Hystrix | 断路器 | |
Turbine | Hystrix监控聚合 | |
Hystrix Dashboard | Hystrix监控界面 | |
SpringCloudGateway | 网关 |
项目 | 端口 |
---|---|
config-server | 18888 |
Consul | 8500 |
hystrix-dashboard | 7979 |
turbine-server | 8989 |
Gateway |
工具 | 说明 | 链接 |
---|---|---|
IDEA | 开发IDE | idea-download |
Axure | 原型设计工具 | https://www.axure.com |
ScreenToGif | gif录制工具 | https://www.screentogif.com、gif动图制作网站 |