O'Reilly logo

Java Enterprise in a Nutshell, Second Edition by David Flanagan, Jim Farley, William Crawford

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

ORB

Synopsis

The ORB is at the heart of the CORBA API. The ORB class provides CORBA clients and server objects access to the basic CORBA functions needed to engage in remote object operations. The ORB class provides a set of static init() methods that let you initialize a reference to an ORB, provides access to initial objects and service through its resolve_initial_references() method, and provides constructor methods that allow you to create key objects needed to perform remote method requests, like Any objects and NamedValues. The ORB also allows you to convert CORBA object references to a portable stringified form, and back again, using its object_to_string() and string_to_object() methods.

public abstract class ORB {
// Public Constructors
   public ORB();  
// Public Class Methods
   public static org.omg.CORBA.ORB init();  
   public static org.omg.CORBA.ORB init(String[] args, 
        java.util.Properties props);  
   public static org.omg.CORBA.ORB init(
        java.applet.Applet app, 
        java.util.Properties props);  
// Property Accessor Methods (by property name)
   public abstract org.omg.CORBA.Context get_default_context(
        );  
   public abstract Request get_next_response(
        ) throws WrongTransaction;  
// Public Instance Methods
   public void connect( org.omg.CORBA.Object obj);  
   public TypeCode create_abstract_interface_tc(String id, 
        String name);  
   public abstract TypeCode create_alias_tc(String id, 
        String name, TypeCode original_type);  
   public abstract Any create_any();  
   public abstract TypeCode create_array_tc(int  ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required