title: Java's CORBA ORB and connecting to a 3rd party Naming Service
body: <p>The Following is from <a href="http://java.sun.com/javase/6/docs/technotes/guides/idl/jidlFAQ.html" rel="nofollow noreferrer">JavaTM IDL FAQ</a>:</p>
  
  <blockquote>
    <p><strong>How do I connect to a 3rd-party Naming Service from Sun's ORB?</strong></p>
    
    <p><strong><em>The recommended way</em></strong> is to use the</p>
  </blockquote>
  
  <p><a href="http://java.sun.com/javase/6/docs/technotes/guides/idl/INStutorial.html" rel="nofollow noreferrer">Interoperable Naming Service (INS)</a></p>
  
  <blockquote>
    <p>, <strong><em>if this option is supported by
    the 3rd-party Naming Service</em></strong>.</p>
    
    <p>To use the Sun ORB with another
    vendor's Naming Service,</p>
    
    <ul>
    <li>Start the 3rd-party name server on Host and Port.</li>
    <li><p>Pass the following argument to ORB.init():</p>
  
  <pre><code>-ORBInitRef NameService=corbaloc:iiop:1.2@:/NameService
  </code></pre>
    
    <p>When you do orb.resolve_initial_references(
    "NameService" ), you should be able to
    connect to 3rd-party Name Service. If
    you are still not able to connect, try
    these troubleshooting hints:</p></li>
    <li><p>Verify that the 3rd-party Name Service supports INS.</p></li>
    <li><p>Verify that the host and port information is accurate.</p></li>
    <li><p>Verify that the 3rd-party Name Service has been started successfully.</p></li>
    <li><p>Verify that the 3rd-party Name Service supports GIOP 1.2. If not,
    refer to the Name Server's
    documentation for the correct the GIOP
    version, and modify the corbaloc: URL
    accordingly.</p></li>
    <li><p>Determine if the 3rd-party Name Service has a different object key it
    uses to contact NameService. If so,
    refer to the Name Server's
    documentation.</p></li>
    </ul>
  </blockquote>
  
  <p><strong>I am new to CORBA</strong> and I would like to know whether or not there is another way to connect to a 3rd party Naming Service which might not be so "recommended". After all how am I to guess if, as yet unknown, 3rd party naming service supports INS (Interoperable Naming Service). But then again, I did mention that I am new to these things...</p>