## Uses of Class
org.omg.CORBA.ORB

- Packages that use ORB
  Package | Description
  --- | ---
  javax.rmi.CORBA | Contains portability APIs for RMI-IIOP.
  org.omg.CORBA | Provides the mapping of the OMG CORBA APIs to the JavaTM programming language, including the class `ORB`, which is implemented so that a programmer can use it as a fully-functional Object Request Broker (ORB).
  org.omg.CORBA_2_3 | The CORBA_2_3 package defines additions to existing CORBA interfaces in the Java[tm] Standard Edition 6. These changes occurred in recent revisions to the CORBA API defined by the OMG. The new methods were added to interfaces derived from the corresponding interfaces in the CORBA package. This provides backward compatibility and avoids breaking the JCK tests.
  org.omg.CORBA.portable | Provides a portability layer, that is, a set of ORB APIs that makes it possible for code generated by one vendor to run on another vendor's ORB.
  org.omg.CosNaming | Provides a naming service for Java IDL.
  org.omg.PortableServer | Provides classes and interfaces for making the server side of your applications portable across multivendor ORBs.
  org.omg.PortableServer.portable | Provides classes and interfaces for making the server side of your applications portable across multivendor ORBs.

- - ### Uses of ORB in javax.rmi.CORBA

    Methods in javax.rmi.CORBA that return ORB
    Modifier and Type | Method | Description
    --- | --- | ---
    `ORB` | Tie.`orb()` Returns the ORB for this tie.

    Methods in javax.rmi.CORBA with parameters of type ORB
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | Stub.`connect(ORB orb)` Connects this stub to an ORB.
    `void` | StubDelegate.`connect(Stub self, ORB orb)` Delegation call for `Stub.connect(org.omg.CORBA.ORB)`.
    `static Object` | Util.`copyObject(Object obj, ORB orb)` Copies or connects an object.
    `Object` | UtilDelegate.`copyObject(Object obj, ORB orb)` Delegation call for `Util.copyObject(java.lang.Object, org.omg.CORBA.ORB)`.
    `static Object[]` | Util.`copyObjects(Object[] obj, ORB orb)` Copies or connects an array of objects.
    `Object[]` | UtilDelegate.`copyObjects(Object[] obj, ORB orb)` Delegation call for `Util.copyObjects(java.lang.Object[], org.omg.CORBA.ORB)`.
    `void` | Tie.`orb(ORB orb)` Sets the ORB for this tie.

  - ### Uses of ORB in org.omg.CORBA

    Methods in org.omg.CORBA that return ORB
    Modifier and Type | Method | Description
    --- | --- | ---
    `ORB` | LocalObject.`_orb()` Throws an `org.omg.CORBA.NO_IMPLEMENT` exception with the message "This is a locally constrained object." This method is the default implementation of the `org.omg.CORBA.Object` method.
    `static ORB` | ORB.`init()` Returns the `ORB` singleton object.
    `static ORB` | ORB.`init(Applet app, Properties props)` Creates a new `ORB` instance for an applet.
    `static ORB` | ORB.`init(String[] args, Properties props)` Creates a new `ORB` instance for a standalone application.

  - ### Uses of ORB in org.omg.CORBA_2_3

    Subclasses of ORB in org.omg.CORBA_2_3
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `ORB` A class extending `org.omg.CORBA.ORB` to make the ORB portable under the OMG CORBA version 2.3 specification.

  - ### Uses of ORB in org.omg.CORBA.portable

    Methods in org.omg.CORBA.portable that return ORB
    Modifier and Type | Method | Description
    --- | --- | ---
    `ORB` | ObjectImpl.`_orb()` Returns a reference to the ORB associated with this object and its delegate.
    `ORB` | OutputStream.`orb()` Returns the ORB that created this OutputStream.
    `ORB` | InputStream.`orb()` Returns the ORB that created this InputStream.
    `ORB` | Delegate.`orb(Object obj)` Provides a reference to the orb associated with its parameter.

  - ### Uses of ORB in org.omg.CosNaming

    Methods in org.omg.CosNaming with parameters of type ORB
    Modifier and Type | Method | Description
    --- | --- | ---
    `NamingContext` | NamingContextPOA.`_this(ORB orb)`
    `BindingIterator` | BindingIteratorPOA.`_this(ORB orb)`
    `NamingContextExt` | NamingContextExtPOA.`_this(ORB orb)`

  - ### Uses of ORB in org.omg.PortableServer

    Methods in org.omg.PortableServer that return ORB
    Modifier and Type | Method | Description
    --- | --- | ---
    `ORB` | Servant.`_orb()` Returns the instance of the ORB currently associated with the `Servant` (convenience method).

    Methods in org.omg.PortableServer with parameters of type ORB
    Modifier and Type | Method | Description
    --- | --- | ---
    `Object` | Servant.`_this_object(ORB orb)` Allows the servant to obtain the object reference for the target CORBA Object it is incarnating for that request.
    `ServantLocator` | ServantLocatorPOA.`_this(ORB orb)`
    `ServantActivator` | ServantActivatorPOA.`_this(ORB orb)`

  - ### Uses of ORB in org.omg.PortableServer.portable

    Methods in org.omg.PortableServer.portable that return ORB
    Modifier and Type | Method | Description
    --- | --- | ---
    `ORB` | Delegate.`orb(Servant Self)` Convenience method that returns the instance of the ORB currently associated with the Servant.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.