org.brutusin:rpc-tomcat-jar

Maven archetype for creation of Brutusin-RPC jar (standalone) projects, with a Tomcat runtime embedded

License

License

Categories

Categories

Tomcat Container Application Servers
GroupId

GroupId

org.brutusin
ArtifactId

ArtifactId

rpc-tomcat-jar
Last Version

Last Version

1.9.2
Release Date

Release Date

Type

Type

jar
Description

Description

org.brutusin:rpc-tomcat-jar
Maven archetype for creation of Brutusin-RPC jar (standalone) projects, with a Tomcat runtime embedded

Download rpc-tomcat-jar

How to add to project

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

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

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
1.3.0
1.2.7
1.2.6
1.2.5
1.2.4
1.2.3
1.2.2