System.setSecurityManager(new RMISecurityManager());
// Start listening for lookup services
String[] groups = new String[] { "" };
LookupDiscovery reg = new LookupDiscovery(groups);
// Create the instance of the service and register it with all
// discovered lookup esrvices
ConvertServiceImpl csi = (ConvertServiceImpl) new ConvertServiceImpl();
ServerListener sl = new ServerListener(reg, csi);
reg.addDiscoveryListener(sl);