}
public static void main(String[] args) {
try {
Hello hello = (Hello) Naming.lookup("rmi://localhost/Hello");
System.out.println(hello.sayGoodMorning());
} catch (RemoteException ex) {
ex.printStackTrace();
} catch (MalformedURLException ex) {
ex.printStackTrace();
} catch (NotBoundException ex) {