资 源 简 介
Fast Remote Native library Invocation with connection pooling
Enable invoke remote service using TCP protocol
Allows reuse libraries that do not support simultaneous access.
The libraries can be local or remote, the invocation of the libraries can be invoker using JNA.
The principle is as follows:
The service is started on a TCP / IP port waiting for a connection.
A process connects to the remote service. It waits for instructions:
- The execution of a service
- The creation of a new process
Use case
your library is not thread safe
Your library is not sure (segmation fault, crash) and can"t be used in java server environment.
Your libray is executed on an specific environment
```
@Override
protected void setUp() throws Exception {
/*
* Start the server, listen default port 1234
*/
MyServer server = MyServer.startServer(1234);
// Start the remote service client
Proc