simple java network rmi script