org.brutusin:rpc-client

Brutusin-RPC java client

License

License

Categories

Categories

CLI User Interface
GroupId

GroupId

org.brutusin
ArtifactId

ArtifactId

rpc-client
Last Version

Last Version

1.9.2
Release Date

Release Date

Type

Type

jar
Description

Description

org.brutusin:rpc-client
Brutusin-RPC java client

Download rpc-client

How to add to project

<!-- https://jarcasting.com/artifacts/org.brutusin/rpc-client/ -->
<dependency>
    <groupId>org.brutusin</groupId>
    <artifactId>rpc-client</artifactId>
    <version>1.9.2</version>
</dependency>
// https://jarcasting.com/artifacts/org.brutusin/rpc-client/
implementation 'org.brutusin:rpc-client:1.9.2'
// https://jarcasting.com/artifacts/org.brutusin/rpc-client/
implementation ("org.brutusin:rpc-client:1.9.2")
'org.brutusin:rpc-client:jar:1.9.2'
<dependency org="org.brutusin" name="rpc-client" rev="1.9.2">
  <artifact name="rpc-client" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.brutusin', module='rpc-client', version='1.9.2')
)
libraryDependencies += "org.brutusin" % "rpc-client" % "1.9.2"
[org.brutusin/rpc-client "1.9.2"]

Dependencies

compile (6)

Group / Artifact Type Version
org.brutusin : commons jar 1.5.1
org.brutusin : json-provider jar 2.5.1
org.brutusin : rpc-api jar 1.9.2
javax.websocket : javax.websocket-api jar 1.1
org.apache.httpcomponents : httpclient-cache jar 4.5.2
org.apache.httpcomponents : httpmime jar 4.5.2

provided (1)

Group / Artifact Type Version
javax : javaee-web-api jar 7.0

test (3)

Group / Artifact Type Version
junit : junit jar 4.10
org.glassfish.tyrus : tyrus-client jar 1.12
org.glassfish.tyrus : tyrus-container-grizzly-server jar 1.12

Project Modules

There are no modules declared in this project.

Brutusin-RPC Hex.pm Build Status Maven Central Latest Version

Brutusin-RPC shiny logo

JEE web framework for creating self-descriptive JSON-RPC microservices and single-page applications with minimal effort.

Features

  • JSON-RPC 2.0 over HTTP
  • JSON-RPC 2.0 over websockets
  • Messaging (publish/subscribe) over websockets
  • Java & Javascript client API
  • Builtin descriptive services and functional testing module
  • Arbitrary complex input and output description based on JSON Schema
  • Spring-security integration
  • Embedded server runtimes

Full Documentation

See the Wiki for full documentation, examples, operational details and other information.

Quick start. Code and test!

Run this java application:

import org.brutusin.rpc.Server;
import org.brutusin.rpc.websocket.WebsocketAction;

public class HelloAction extends WebsocketAction<String, String> {

    @Override
    public String execute(String input) throws Exception {
        return "Hello " + input + "!";
    }

    public static void main(String[] args) throws Exception {
        Server.test(new HelloAction());
    }
}

and automatically your browser will be open with a functional testing client for the newly created service:

Service testing client

Live demos

Support, bugs and requests

https://github.com/brutusin/Brutusin-RPC/issues

Authors

Contributions are always welcome and greatly appreciated! Just fork, and send me a pull request.

License

Apache License, Version 2.0 http://www.apache.org/licenses/LICENSE-2.0

org.brutusin

brutusin.org

Best friendly software libraries. In loving memory of Brutus

Versions

Version
1.9.2
1.9.1
1.9.0
1.8.4
1.8.3
1.8.2
1.8.1
1.8.0
1.7.5
1.7.4
1.7.3
1.7.2
1.7.1
1.7.0
1.6.6
1.6.5
1.6.4
1.6.3
1.6.1
1.6.0
1.5.2
1.5.0
1.4.3
1.4.2
1.4.1
1.4.0