All Projects → heibaiying → Spring Samples For All

heibaiying / Spring Samples For All

spring、spring-boot、spring-cloud 常用整合用例

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
SpringBoot 整合各类框架和应用
Stars: ✭ 54 (-86.53%)
Mutual labels:  dubbo, kafka, redis, mongodb
Springboot Learn
🌹springboot常用框架整合示例,涉及多种网站监控,数据缓存,网络通信,持久层,权限管理,常用工具等
Stars: ✭ 270 (-32.67%)
Mutual labels:  mybatis, redis, rabbitmq, websocket
Full Stack Notes
全栈工程师手册
Stars: ✭ 366 (-8.73%)
Mutual labels:  kafka, redis, mongodb, rabbitmq
Springcloudlearning
《史上最简单的Spring Cloud教程源码》
Stars: ✭ 16,218 (+3944.39%)
Mutual labels:  eureka, ribbon, zuul, hystrix

Spring-Samples-For-All

spring springboot springcloud jdk author

本项目仓库提供 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 的配置。
samples 描述 官方文档
springmvc-base
springmvc-base-annotation
springmvc 基础、参数绑定、格式转换、数据校验、
异常处理、 文件上传下载、视图渲染
Spring Mvc
spring-aop
spring-aop-annotation
spring 切面编程 Spring AOP
spring-jdbc
spring-jdbc-annotation
spring jdbc-template 的使用 Using JdbcTemplate
spring-mybatis
spring-mybatis-annotation
spring 整合 mybatis Mybatis-Spring
spring-druid-mybatis
spring-druid-mybatis-annotation
spring 整合 druid、mybatis Alibaba druid
spring-redis
spring-redis-annotation
spring 整合 redis 单机 + 集群(jedis 客户端)
spring 整合 redis 单机 + 集群(redisson 客户端)
Redisson
spring-mongodb
spring-mongodb-annotation
spring 整合 mongodb Spring Data MongoDB
spring-memcached
spring-memcached-annotation
spring 整合 memcached(单机 + 集群) Xmemcached
spring-rabbitmq
spring-rabbitmq-annotation
spring 整合 rabbitmq、消息序列化与反序列化 Rabbitmq
Spring AMQP
spring-dubbo
spring-dubbo-annotation
spring 整合 dubbo Dubbo
spring-websocket
spring-websocket-annotation
spring 整合 websocket Spring Websocket
spring-mail
spring-mail-annotation
spring 普通文本邮件、附件邮件、模板邮件 Spring Email
spring-scheduling
spring-scheduling-annotation
spring 定时任务 Task Execution and Scheduling

2. spring-boot samples

samples 描述 官方文档
spring-boot-base spring-boot 基础 spring boot 官方文档
spring boot 中文官方文档
spring-boot-yml-profile yml 语法和多配置切换 Using YAML Instead of Properties
spring-boot-tomcat spring-boot 整合外部容器(tomcat) Use Another Web Server
spring-boot-servlet spring boot 整合 servlet 3.0 Embedded Servlet Container Support
spring-boot-jsp spring-boot 整合 jsp(内置容器) JSP Limitations
spring-boot-data-jpa spring-boot data jpa 的使用 Spring Data JPA
spring-boot-mybatis spring-boot+HikariDataSources 整合 mybatis Mybatis-Spring
Mybatis-Spring-Boot-Autoconfigure
spring-boot-druid-mybtais spring-boot 整合 druid、mybatis Alibaba druid
druid-spring-boot-starter
spring-boot-redis spring-boot 整合 redis Working with NoSQL Technologies
spring-boot-mongodb spring-boot 整合 mongodb Working with NoSQL Technologies
spring-boot-memcached spring-boot 整合 memcached Xmemcached
spring-boot-rabbitmq spring-boot 整合 rabbitmq RabbitMQ support
spring-boot-dubbo spring-boot 整合 dubbo Dubbo
spring-boot-websocket spring-boot 整合 websocket Using @ServerEndpoint
spring-boot-kafka spring-boot 整合 kafka Apache Kafka Support
spring-boot-actuator actuator + Hyperic SIGAR 应用信息监控 Spring Boot Actuator
spring-boot-swagger2 spring-boot 集成 Swagger2 打造在线接口文档 Springfox Reference Documentation

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].