import java.lang.*; import java.net.*; import java.io.*; // to compile this file you need the java classes of Netscape Communicator import netscape.WAI.*; public class netscape_naming { public static void Publish (org.omg.CORBA.Object proxy, String name, org.omg.CORBA.ORB orb) { // Set this URl to your needs String url = "http://Eel:15000/StreetRouterSimple.IOR"; try { System.out.println("Resolving the url"); Naming.register(url,proxy); } catch (Exception e) { System.err.println(e); } } }