changed the server client example to RMI