A simple distributed system using Java RMI