Simple example of RMI