heibaiying / Spring Samples For All
spring、spring-boot、spring-cloud 常用整合用例
Stars: ✭ 401
Programming Languages
java
68154 projects - #9 most used programming language
Projects that are alternatives of or similar to Spring Samples For All
Springboot Templates
springboot和dubbo、netty的集成,redis mongodb的nosql模板, kafka rocketmq rabbit的MQ模板, solr solrcloud elasticsearch查询引擎
Stars: ✭ 100 (-75.06%)
Mutual labels: dubbo, kafka, mybatis, redis, mongodb, rabbitmq
Goodskill
🐂基于springcloud +dubbo构建的模拟秒杀项目,模块化设计,集成了分库分表、elasticsearch🔍、gateway、mybatis-plus、spring-session等常用开源组件
Stars: ✭ 786 (+96.01%)
Mutual labels: dubbo, kafka, mybatis, redis, mongodb, rabbitmq
Springcloud Learning
Spring Cloud基础教程,持续连载更新中
Stars: ✭ 6,839 (+1605.49%)
Mutual labels: eureka, ribbon, zuul, rabbitmq, zipkin, hystrix
Fw Spring Cloud
SpringCloud构建实战、从入门到高级,包含eureka、zuul、gateway、feign、ribbon、hystrix、mq、turbine、nacos、elk、consul、zookeeper、rocketmq、kafka、分布式事务(RocketMq、LCN、Seata)、分库分表(Sharding-JDBC)、分布式锁(Redis、Guava)、jwt、SkyWalking、Zipkin、bootadmin等使用案例
Stars: ✭ 276 (-31.17%)
Mutual labels: kafka, ribbon, zuul, zipkin, hystrix
Superman
Superman是什么:构建Java 高级开发技术的知识体系,从基础不断打怪升级成为超人之路(更新中.......)
Stars: ✭ 106 (-73.57%)
Mutual labels: dubbo, kafka, mybatis, redis, rabbitmq
Fxshop
基于SpringBoot+SpringCloud微服务的商城项目(demo版 不可用于生产)
Stars: ✭ 82 (-79.55%)
Mutual labels: eureka, redis, ribbon, rabbitmq, hystrix
Springbootexamples
Spring Boot 学习教程
Stars: ✭ 794 (+98%)
Mutual labels: dubbo, kafka, mybatis, redis, mongodb
Spring Petclinic Microservices
Distributed version of Spring Petclinic built with Spring Cloud
Stars: ✭ 814 (+102.99%)
Mutual labels: eureka, ribbon, zuul, zipkin, hystrix
Sample Spring Microservices
Many samples in different branches that shows how to create microservices with Spring Boot, Spring Cloud, Zipkin, Zuul, Eureka, Hystrix, Kubernetes, Elastic Stack and many more tools
Stars: ✭ 368 (-8.23%)
Mutual labels: eureka, ribbon, zuul, zipkin, hystrix
Spring Dubbo Service
微服务 spring dubbo项目:dubbo rpc;druid数据源连接池;mybatis配置集成,多数据源;jmx监控MBean;定时任务;aop;ftp;测试;Metrics监控;参数验证;跨域处理;shiro权限控制;consul服务注册,发现;redis分布式锁;SPI服务机制;cat监控;netty服务代理;websocket;disconf;mongodb集成;rest;docker;fescar
Stars: ✭ 224 (-44.14%)
Mutual labels: dubbo, mybatis, redis, mongodb, websocket
Superboot
随着技术日新月异,新技术新平台不断出现,对现如今的开发人员来说选择快速高效的框架进行项目开发,既能提高产出,又能节约时间。本框架无需开发即可实现服务注册、服务发现、负载均衡、服务网关、配置中心、API管理、分布式事务、支撑平台、集成框架、数据传输加密等功能,是学习SpringCloud整体业务模式的完整示例,并且可以直接用于生产环境
Stars: ✭ 341 (-14.96%)
Mutual labels: eureka, redis, mongodb, zuul, hystrix
tictactoe-microservices-example
An example of Spring Cloud Microservices application based on books (see Links section)
Stars: ✭ 23 (-94.26%)
Mutual labels: zuul, hystrix, ribbon, eureka, zipkin
Spring Boot Cloud
基于 Spring Boot、Spring Cloud、Spring Oauth2 和 Spring Cloud Netflix 等框架构建的微服务项目
Stars: ✭ 2,044 (+409.73%)
Mutual labels: eureka, ribbon, zuul, zipkin, hystrix
Advanced Java
😮 Core Interview Questions & Answers For Experienced Java(Backend) Developers | 互联网 Java 工程师进阶知识完全扫盲:涵盖高并发、分布式、高可用、微服务、海量数据处理等领域知识
Stars: ✭ 59,142 (+14648.63%)
Mutual labels: dubbo, eureka, redis, ribbon, hystrix
Springboot Learning
基于Gradle构建,使用SpringBoot在各个场景的应用,包括集成消息中间件、前后端分离、数据库、缓存、分布式锁、分布式事务等
Stars: ✭ 340 (-15.21%)
Mutual labels: dubbo, kafka, mybatis, redis, rabbitmq
Lamp Cloud
lamp-cloud 基于Jdk11 + SpringCloud + SpringBoot的微服务快速开发平台,其中的可配置的SaaS功能尤其闪耀, 具备RBAC功能、网关统一鉴权、Xss防跨站攻击、自动代码生成、多种存储系统、分布式事务、分布式定时任务等多个模块,支持多业务系统并行开发, 支持多服务并行开发,可以作为后端服务的开发脚手架。代码简洁,注释齐全,架构清晰,非常适合学习和企业作为基础框架使用。
Stars: ✭ 4,125 (+928.68%)
Mutual labels: eureka, mybatis, zuul, hystrix
Springboot Learn
🌹springboot常用框架整合示例,涉及多种网站监控,数据缓存,网络通信,持久层,权限管理,常用工具等
Stars: ✭ 270 (-32.67%)
Mutual labels: mybatis, redis, rabbitmq, websocket
Springcloudlearning
《史上最简单的Spring Cloud教程源码》
Stars: ✭ 16,218 (+3944.39%)
Mutual labels: eureka, ribbon, zuul, hystrix
Spring-Samples-For-All
本项目仓库提供 spring、spring-boot、spring-cloud 的常用整合用例。每个用例都提供详细的图文说明,并给出官方文档的具体链接作为参考。随着 spring 的迭代,本仓库会持续更新,升级版本和丰富用例。
版本说明:
spring: 5.1.3.RELEASE
spring-boot:2.1.1.RELEASE
spring-cloud:Finchley.SR2
⭐️⭐️⭐️对大数据技术栈感兴趣的小伙伴可以关注我的新仓库:大数据入门指南
1. spring samples
所有 spring 的项目我都会提供两个版本的 sample:
- 一个版本是基于 xml 配置,也就是最为常见的配置方式;
- 另一个版本完全基于代码配置(项目以annotation结尾),这也是目前 spring 官方推荐的更为灵活配置方法,也方便更好的衔接 spring boot 的配置。
2. spring-boot samples
3. spring-cloud samples
samples | 描述 | 官方文档 |
---|---|---|
spring-cloud-Eureka | Eureka 服务的注册和发现 | Service Discovery: Eureka Server |
spring-cloud-Eureka-cluster | Eureka 高可用集群搭建 | Service Discovery: Eureka Server |
spring-cloud-Ribbon | Ribbon 客户端负载均衡 RestTemplate 服务远程调用 |
Client Side Load Balancer: Ribbon |
spring-cloud-OpenFeign | OpenFeign 声明式服务调用、服务容错处理 | Declarative REST Client: Feign |
spring-cloud-Hystrix | Hystix 服务容错保护 hystrix dashboard 断路器监控 Turbine 断路器聚合监控 |
Circuit Breaker: Hystrix Clients Hystrix metrics aggregation with Turbine |
spring-cloud-Zuul | Zuul 网关服务 | Router and Filter: Zuul |
spring-cloud-Sleuth-Zipkin | Sleuth + Zipkin 服务链路追踪 | Spring Cloud Sleuth |
spring-cloud-Config-Bus | Config 分布式配置中心 集成 Bus 消息总线 实现配置热更新 |
Spring Cloud Config Client |
4.spring分布式session和分布式事务
sample | 描述 | 官方文档 |
---|---|---|
spring-session | spring 实现分布式 session | spring session |
spring boot + spring session | spring boot + spring session 实现分布式 session | spring session |
springboot-druid-mybatis-atomikos | spring boot + druid + mybatis + atomikos 配置多数据源、支持分布式事务 ( JTA 方式实现) |
Distributed Transactions with JTA |
5.参考资料
相关参考文档放在了仓库的 referenced documents 目录下,文件目录如下:
- Servlet3.1 规范(最终版).pdf
- Thymeleaf 中⽂参考⼿册.pdf
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].