Java-RMI-interface