本文开始对springboot+dubbo集成,使用的版本为springboot 2.0.0、dubbo 2.0.0,步骤如下:

1.添加依赖:

SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。
<dependency> <groupId>com.alibaba.spring.boot</groupId> <artifactId>dubbo-spring-boot-starter</artifactId> <version>2.0.0</version> </dependency>

2.集成(三步法:1.开发dubbo服务接口,2.开发dubbo服务提供者,3.开发dubbo服务消费者)

扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄