FileDocCategorySizeDatePackage
ListRMI.javaAPI DocExample287Sat Mar 16 10:30:38 GMT 2002None

ListRMI

public class ListRMI extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)


		String theURL = "rmi://localhost:1099/";

		String[] names = Naming.list(theURL);
		for (int i=0; i<names.length; i++) {
			System.out.println(i + ": " + names[i] + "\n");
		}