System.setSecurityManager(new RMISecurityManager());
String[] groups = new String[] { "" };
// Create the instance of the service; the JoinManager will
// register it and renew its leases with the lookup service
ConvertServiceImpl csi = (ConvertServiceImpl) new ConvertServiceImpl();
LookupDiscoveryManager mgr = new LookupDiscoveryManager(groups, null, null);
JoinManager manager = new JoinManager(csi, null,
csi, mgr, null);