... | ... | @@ -14,14 +14,14 @@ Legacy: [XML-RPC Delight](xmlrpc/Documentation) |
|
|
|
|
|
# Welcome to the delight JSON over HTTP
|
|
|
|
|
|
This Delight backend implementation offers JSON-based RPC calls to simple Java objects implementing Java interfaces or abstract Java classes.
|
|
|
**JSON-over-HTTP** is a Delight backend implementation that offers JSON-based RPC calls to **services made out of simple Java objects implementing Java interfaces**.
|
|
|
|
|
|
The interface (or abstract class) is used to forge requests from __easy-to-use Java clients__ to the server. Non-java clients profit from
|
|
|
the simple HTTP-request format which is also browser __browser-friendly__.
|
|
|
The interface is used to forge requests from __easy-to-use Java clients__ to the server. Non-java clients profit from
|
|
|
the simple HTTP-request format which is also __browser-friendly__.
|
|
|
|
|
|
## How it works
|
|
|
|
|
|
Define a Java-Interface, for example
|
|
|
Define a Java-Interface (an abstract class would also do), for example
|
|
|
|
|
|
public interface ServiceApi {
|
|
|
String doSometing(TestPojo parameter);
|
... | ... | |