2.3.2 The Object Interface
The object’s interface, described in the application’s OMG IDL file, identifies the set of data and operations that can be performed on an object. For example, the interface for a university teller object would identify:
- The data types associated with the object, such as a teller ID, cash in the teller’s drawer; and the data managed by the object, such as an account.
- The operations that can be performed on that object, such as obtaining an account’s current balance, debiting an account, or crediting an account.
One distinguishing characteristic of a CORBA object is the run-time separation of the interface definition from its data and operations. In a CORBA system, a CORBA object’s interface definition may exist in a component called the Interface Repository. The data and operations are specified by the interface definition, but the data and operations exist in the server application process when the object is activated.