Java Programming  «Prev 

Corba Package Attributes

Package org.omg.CORBA Description

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).
The information in this section is information relevant to someone who compiles Interface Definition Language (IDL) files and uses the ORB to write clients and servers. The classes and interfaces described in this section can be put into four groups:
  1. ORB classes,
  2. Exceptions,
  3. Helper classes, and
  4. Holder classes.

1) All elements defined in a module are in the same package
MyIDL.idl;
All elements defined in a module are in the same package

2) The interface definition results in a class for the interface containing all the elements defiend in the IDL interface.
MyIDL.idl;
The interface definition results in a class for the interface containing all the elements defiend in the IDL interface. The Java interface extends from the common object reference interface org.omg.CORBA.Object.

3) An attribute maps to two methods
MyIDL.idl;
An attribute maps to two methods

4) A readonly attribute maps to only the getter method.
MyIDL.idl;
A readonly attribute maps to only the getter method. The return value of the getter is the attribute type mapped according to the primitive mapping rules.