package com.jiuqi.mobile.core.service.base.test; import java.rmi.RemoteException; import java.rmi.server.UnicastRemoteObject; public class SmallWorldImpl extends UnicastRemoteObject implements SmallWorld { private static final long serialVersionUID = 7209829963060408783L; public SmallWorldImpl() throws RemoteException { super(); } public String hello(int i) throws java.rmi.RemoteException { System.out.println("In SmallWorldImpl i = " + i); return ("Hello number=" + i); } }