Attributes in IDL are thought of as public instance variables of the remote object.
However, access to variables commonly differs from method calls in that accessing variables is accessing memory locations in the address space as directly as possible in the language. Because the remote object is, by definition, in a different address space, it cannot map to instance variables in Java. Accessors and mutators need to be created for each attribute so that the stub can turn around and call the server object remotely for the appropriate values.
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:
- ORB classes,
- Exceptions,
- Helper classes, and
- Holder classes.
The next lesson concludes this module.