Example of RMI with two interfaces and implementation