A small example to test RMI in Java