import java.rmi.Naming;


public class Serveur {
	public static void main(String[] args) throws Exception{
		Servant theServant = new Servant();
		Naming.rebind("//localhost/theServant", theServant);
	}

}
