@@ -0,0 +1,506 @@
+package Client;%0A%0Aimport interfaces.HelloInterface;%0A%0Aimport java.rmi.registry.LocateRegistry;%0Aimport java.rmi.registry.Registry;%0A%0Apublic class HelloClient %7B%0A%0A%09public static void main(String%5B%5D args) %7B%0A%09%09try%7B%0A%09%09%09String adrServeur = %22139.124.187.76%22;%0A%09%09%09Registry registre = LocateRegistry.getRegistry(adrServeur);%0A%09%09%09HelloInterface stub = (HelloInterface) registre.lookup(%22hello%22);%0A%09%09%09String msg = stub.getHello(%22Toto%22);%0A%09%09%09System.out.println(msg);%0A%09%09%7D catch (Exception e) %7B%0A%09%09%09e.printStackTrace();%0A%09%09%7D%0A%0A%09%7D%0A%0A%7D%0A

Create HelloClient.java