Tag - dubbo

J.A.R.V.I.S

Life is not just Live

2019

dubbo笔记

建立基础项目

建立一个maven项目,然后建立一个api模块,作为这个项目的总的调用接口

1
2
learn-dubbo-demo/
├── simple-api

https://github.com/liunaijie/learn-demo/tree/master/learn-dubbo-demo

https://github.com/liunaijie/learn-demo/tree/master/learn-dubbo-demo/sample-api

然后在api项目中创建接口,提供给生产者和消费者调用。

我这里定义一个了sayhello()方法

6月 23 · 4 min

0 %