An Object Reference is the information needed to specify an object within an ORB. Both clients and object implementations have an opaque notion of object references, and thus are insulated from the actual representation of them.
|
There are two ways to get a reference for a CORBA object:
-
from another object, such as a factory or a name service
-
from a string that was specially created from an object reference
|
The representation of an object reference handed to a client is only valid for the lifetime of that client.
|
There is a distinguished object reference, the null reference, guaranteed to be different from all object references, that denotes no object. In Java, this is a Java null.
|