a simple rpc framwork in java