Skip to end of metadata
Go to start of metadata

Quick Start

(+) (#)

Dubbo also support usage WITHOUT spring, 
but it's more painful and not recommended. Please refer to: API Config (+)

Service Provider

(#)

Define the service interface:

DemoService.java

Provide the service implementation

DemoServiceImpl.java

Setup the spring configuration

provider.xml

Kick it off with following java code

Provider.java

Congrats! The DemoService now is exported by dubbo and waiting for incoming requests at port 20880.

Service Consumer

(#)

Setup the spring XML

consumer.xml

Client side java code.

Consumer.java
Labels:
dubbo dubbo Delete
quick quick Delete
start start Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.