code: private static synchronized void create_orb() throws DevFailed {
          try {
              // Modified properties fo ORB usage.
              // ---------------------------------------
              final Properties props = System.getProperties();
              props.put("org.omg.CORBA.ORBClass", "org.jacorb.orb.ORB");
              props.put("org.omg.CORBA.ORBSingletonClass", "org.jacorb.orb.ORBSingleton");
  
              // Set retry properties
              props.put("jacorb.retries", "0");
              props.put("jacorb.retry_interval", "100");
  
              // Initial timeout for establishing a connection.
              props.put("jacorb.connection.client.connect_timeout", "300");
  
              // Set the Largest transfer.
              final String str = checkORBgiopMaxMsgSize();
              props.put("jacorb.maxManagedBufSize", str);
  			
  			//	Check for max threads
  			final String nbThreads = System.getProperty("max_receptor_threads");
  			if (nbThreads!=null)
  				props.put("jacorb.connection.client.max_receptor_threads", nbThreads);
  
              // Set jacorb verbosity at minimum value
              props.put("jacorb.config.log.verbosity", "0");
              props.put("jacorb.disableClientOrbPolicies", "off");
  
              //  Add code set to jacorb.properties
              props.put("jacorb.codeset", "true");
  
              //  Add directory to get jacorb.properties
              props.put("jacorb.config.dir", "fr/esrf/TangoApi/etc");
  			System.setProperties(props);
  
              // Initialize ORB
              // -----------------------------
              final String[] argv = null;
              ApiUtil.setOrb(ORB.init(argv, null));
  
              // Get an instance of DevLockManager to initialize.
              DevLockManager.getInstance();
          } catch (final SystemException ex) {
              // System.out.println("Excption catched in ApiUtil.create_orb");
              ApiUtil.setOrb(null);
              ex.printStackTrace();
              Except.throw_connection_failed(ex.toString(), "Initializing ORB failed !",
                  "ApiUtil.create_orb()");
          } catch (final Exception e) {
              e.printStackTrace();
          }
      }
docs: ===================================================================