Rafał Wrzeszcz - Wrzasq.pl

JSON-RPC services with pl.chilldev.commons

Saturday, 16 May 2015, 23:03

Yesterday a new version of pl.chilldev.commons (0.0.3) introduced a completely new component - pl.chilldev.commons:commons-jsonrpc. It is designed to ease building JSON-RPC services. It glues Apache MINA networking library with JSON-RPC 2.0 Base library. Thanks for using MINA, unlike most of the other JSON-RPC libraries, services are using plain TCP layer, without any envelope like HTTP. This gives possibility for making them more robust and efficient - client can use one connection session to interact asynchronously with the server with multiple parallel requests.

Right now it's highly experimental, but it's already usable. For more details about usage, visit guide on GitHub pages. Packages are already in Maven Central Repository.

Tags: JSON-RPC, Code, Tutorial, ChillDev, Java