/** @version 1.00 1996-09-07 @author Cay Horstmann */ import java.rmi.*; import java.rmi.server.*; /** This programs shows all bindings in the naming service. */ public class ShowBindings { public static void main(String[] args) { try { String[] bindings = Naming.list("rmi://200.1.17.73/"); for (int i = 0; i < bindings.length; i++) System.out.println(bindings[i]); } catch(Exception e) { e.printStackTrace(); } } }