Skip to content

Demo/code/example using some java framework(eg SSM, SpringBoot, SpringCloud).

License

Notifications You must be signed in to change notification settings

xiaohaiqing/code_demo

 
 

Repository files navigation

使用各类主流框架、以及中间件整合之类的代码演示,注释详细

License



Demo 演示列表

  • sc-demo-alibaba:Spring Cloud Alibaba全家桶的示例,服务治理、熔断、通信、网关、限流、鉴权等
  • spring-security-demo:(内附sql脚本) 标准的RBAC权限设计,基于动态查询数据库的权限判定 ( 以接口为粒度,即 Request URL+Request Method )基于JWT的认证授权流程,使用SpringBoot+SpringSecurity+MyBatis+jjwt
  • dubbo-springboot:SpringBoot整合Dubbo的演示,服务治理使用Zookeeper
  • sc-demo-microservice:SpringCloudNetfilx全家桶,包含Zuul,Eureka,Ribbon,Hystrix,Feign等组件的使用
  • ssm-backstage:Spring+SpringMVC+Mybatis注解式开发的简易后台项目,Mybatis实现一对一/一对多映射,前台使用Thymeleaf+Layui
  • WebSocket:SpringBoot开发的WebSocket应用,包含传统tomcat开发方式和使用spring-boot-starter-websocket的开发方式
  • Cache-SpringBoot:SpringBoot自带的缓存实现,@CacheConfig @CacheEvict @CachePut @Cacheable 等注解使用
  • RabbitMQ-SpringBoot:SpringBoot 集成 RabbitMQ; 消息发送/接收、死信队列
  • Event-Springboot:SpringBoot实现异步事件驱动(发布、监听)编程,AsyncConfigurer异步配置演示,ApplicationEvent、ApplicationListener、@EventListener等相关接口/注解使用示例

About

Demo/code/example using some java framework(eg SSM, SpringBoot, SpringCloud).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 81.6%
  • HTML 8.2%
  • CSS 5.4%
  • JavaScript 4.5%
  • TSQL 0.3%