搭建新项目的框架

  • 基础架构:Spring Boot / Spring Cloud
  • 数据库:MySQL / Oracle
  • 数据库层连接:Hibernate / Mybatis / JPA
  • 分页
  • 日志:Log4j / Slf4J
  • 数据库连接池:Druid
  • 消息中间件:Dubbo / Grpc
  • 缓存:Redis
  • 权限:Spring Security / Shiro
  • 包管理仓库:Maven / Gradle
  • 统一日志记录-数据库层面
  • JSON处理:FastJSON
  • 统一返回结果处理
  • Zookeeper
  • MQ组件:RabbitMQ / RocketMQ / Kafka
  • 统一Exception处理
  • 公用Util类
  • 测试用例:JUnit
  • 集群