【文件属性】:
文件名称:spring-dubbo-hdsx-x2:JAVA脚手架集成dubbo 、springboot 、seata、swagger、nacos、soul等等
文件大小:103.47MB
文件格式:ZIP
更新时间:2021-05-14 04:52:14
spring-boot swagger sentinel dubbo soul
[toc]
前言
基于微服务的思想,构建在 B2C 电商场景下的项目实战。
架构图
整体的功能如下图:
技术
项目结构
模块
名称
端口
admin-web
【前端】管理后台
HTTP 8080
user-application
用户 HTTP 服务
HTTP 18082
product-application
商品 HTTP 服务
HTTP 18081
order-application
订单 HTTP 服务
HTTP 18088
后端项目,目前的项目结构如下:
[-] xxx
├──[-] xxx-restful // 提供对外 HTTP API 。
├──[-] xxx-service-api // 提供 Dubbo 服务 API 。
├──[-] xxx-service-impl // 提供 Dubbo 服务 Service 实现。
考虑到大多数公司,无需拆分的特别细,