RMI is an easy way to communicate between JVMs. It is particularly helpful for the encapsulation of e.g. legacy JNI code or any other unstable part of the system.
NEW workshop: Building HTML 5 Applications Without Frameworks, Full week in December 2016: from Java EE 7 Bootstrap, Effective, Architectures over Testing to Microservices
On demand workshops: Java EE 7: Bootstrap, Effective, Testing and Microservices available for streaming.