Static Invocation
To statically invoke an operation on a CORBA object, a client needs two things:
- An object reference, an opaque handle that identifies the particular CORBA object to be invoked; clients don't create object references but obtain them typically from other objects, such as factories or a naming contexts.
- A stub, which is a Java object that is a local proxy for a type of CORBA object.
Of these, the client developer is only interested in the object reference; the stub class is generated automatically and its instances are created and invoked automatically.