e.printStackTrace();
}
}
}).start();
RMIClient rmi = new RMIClient("127.0.0.1", 2888);
System.out.println("Connection to rmi");
AwesomeService service = rmi.requestInterface(AwesomeService.class);
String what = service.serve("Something");
System.out.println("client got: " + what);
String wut = service.serves(new String[]{"a", "b", "c", "d"});