Skip to content

m-m-m/rpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo

Apache License, Version 2.0 build-status

mmm-rpc

Maven Central apidoc

The module mmm-rpc provides an flexible and powerful solution for RPC (remote procedure calls). Following the command-pattern you can implement custom RpcRequests`s and call them asynchronous from any Java client including web-browsers via TeaVM. On the server-side you only need to implement a `RpcHandler that handles your RpcRequest and produces the according result.

  • support for different payload formats for free (switch between XML,YAML, or JSON or support all in parallel with no extra effort)

  • type-safe, easy, asynchronous and reactive communication via HTTP2

  • mimimum code for maximum outcome

  • security build in by default (authorization, CSRF protection, etc.)

For motivation and details see the documnetation.

Usage

Maven Dependency:

<dependency>
  <groupId>io.github.m-m-m</groupId>
  <artifactId>mmm-rpc</artifactId>
</dependency>

Module Dependency:

  requires transitive io.github.mmm.rpc;

About

RPC (Remote Procedure Call) made easy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages