A simple example showing how to use RMI in Java.