You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import java.java.rmi.RemoteException;
|
|
|
|
public class SeCalc {
|
|
|
|
public static void main(String[] args) throws Exception {
|
|
java.rmi.registry.LocateRegistry.createRegistry(1099);
|
|
|
|
CalcImpl x = new CalcImpl();
|
|
|
|
java.rmi.Naming.rebind("rmi://127.0.0.1/SeCalc", x);
|
|
}
|
|
|
|
}
|