System.setSecurityManager(new RMISecurityManager());
String[] groups = new String[] { "" };
Entry[] attributes = new Entry[2];
attributes[0] = new Name("Marketing Converter");
attributes[1] = new Location("4", "4101", "NY/02");
// Create the instance of the service; the JoinManager will
// register it and renew its leases with the lookup service
ConvertServiceImpl csi = (ConvertServiceImpl) new ConvertServiceImpl();
JoinManager manager = new JoinManager(csi, attributes, groups,
null, null, null);