Is the TAO Naming Service interoperable with the JDK 1.4 beta 3 ORB?
JDK 1.4 supports Interoperable Object References (IORs). To use the JDK 1.4 ORB with the TAO Naming Service server: Start TAO Naming Service server: $ $TAO_ROOT/orbsvcs/Naming_Service/Naming_Service -ORBListenEndpoints iiop://host:port Then, run the JDK 1.4 client as follows to use the TAO Naming Service: $ java MessengerClient \ -ORBInitRef NameService=corbaloc:iiop:host:port/NameService Here is a sample Java client: public class MessengerClient { public static void main( String[] args ) { try { org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init(args, null); // resolve the naming service org.omg.CORBA.Object obj = orb.resolve_initial_references(“NameService”); NamingContext rootContext = NamingContextHelper.narrow( obj ); // create sample name(sever binding) NameComponent[] name = { new NameComponent( “example”, “” ), new NameComponent( “Messenger”, “” ) }; // resolve the server reference obj = rootContext.resolve(name); Messenger msgr = MessengerHelper.narrow(obj); ………….. …….