Skip to content

a simple demo for dubbo with jsonrpc protocol(dubbo jsonrpc简单例子)

Notifications You must be signed in to change notification settings

kuaikuaikim/dubbo_jsonrpc_demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Dubbo JSONRpc Demo

Run Provider

mvn jetty:run

Consumer Client:

CURL for test:

curl -i -H 'content-type: application/json' -X POST -d '{"jsonrpc": "2.0", "method": "hello", "params": [ "World"],"id": 1 , "version":"1.0.0"}' 'http://127.0.0.1:8080/com.dubbo.demo.HelloService'

About

a simple demo for dubbo with jsonrpc protocol(dubbo jsonrpc简单例子)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages