Simple RMI on agent side