The quick start gives very basic example of running client and server on the same machine.
For the detailed information about using and developing Motan, please jump to Documents.
the demo case is in the examples/ directory.
Motan server
Create examples/motan-service/sys/MOTAN_SERVER_CONF to config service
local singletons = require "motan.singletons"
local serialize = require "motan.serialize.simple"
local client_map = singletons.client_map
local client = client_map["rpc_test"]
local res = client:show_batch({name = "idevz"})
print_r("<pre/>")
print_r(serialize.deserialize(res.body))
Motan-OpenResty
Overview
Motan is a cross-language remote procedure call(RPC) framework for rapid development of high performance distributed services.
This project is the OpenResty Motan implementation. Provides OpenResty motan server, motan client.
Features
Quick Start
Installation
The quick start gives very basic example of running client and server on the same machine. For the detailed information about using and developing Motan, please jump to Documents. the demo case is in the examples/ directory.
Motan server
Motan client
Documents
Contributors
License
Motan is released under the Apache License 2.0.