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.
See also other screencasts at: http://tv.adam-bien.com or subscribe to http://www.youtube.com/user/bienadam.
See you at Java EE Workshops at MUC Airport or on demand and in a location very near you: airhacks.io!