#1 2019-12-30 03:54:42

edwinsn
Member
Registered: 2010-07-02
Posts: 1,218

Java client for mORMot

Not by me, I'm the discoverer smile
https://github.com/krkodil/mORMot

Example usage:

SynClient client = new SynClient("127.0.0.1", 8080, "service", false);
if (client.login("User", "synopse")) {
        JSONArray params = new JSONArray().put(2).put(3);  // Add(2, 3)
        JSONObject response = client.call("Calculator.Add", params);
        System.out.println("Summ: " + response);
        client.logout();
}

Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.

Offline

#2 2019-12-30 08:44:11

igors233
Member
Registered: 2012-09-10
Posts: 241

Re: Java client for mORMot

Nice, this should go to samples.

Offline

#3 2019-12-30 10:19:32

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,672
Website

Re: Java client for mORMot

Offline

Board footer

Powered by FluxBB