Simple Java RMI Example Just to remember how RMI works How to launch Launch the Main class in Server. Launch the Main class in Client. The serveur should execute instantly the echo method called by the client.