dubbo分布式服务框架-study2

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

1.添加依赖:

<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服务消费者)

猜你喜欢

转载自www.cnblogs.com/ysq0908/p/10807980.html