Discovering Java's Remote Method Invocation (RMI) procedures.
Packages an RMI server into a JAR and lets a client execute Java code remotely through the server's RMI interface.
Also offers the possibility to package and test the server as a Docker container, as a proof-of-concept.
./build.sh
to compile the source code./server.sh
to run the server
./build-docker.sh
to compile the source code into a Docker image./server-docker.sh
to run the server as a Docker container
Make sure to have built the code with either
./build.sh
or./build-docker.sh
prior to this.
./client.sh [n]
Run a batch of n
remote invocations, defaulting to 1
if no argument specified.
Use -1
to loop indefinitely.