Usage of Remote Method Invocation