one of Java RPC implementation