[Enterprise Extensions only]

Interface Definition Language (IDL), usage and implementation

The interface to a class of objects contains the information that a caller must know to use an object, specifically, the names of its attributes and the signatures of its methods. In the CORBA programming model, the Object Management Group (OMG) Interface Definition Language (IDL) is the formal language used to define object interfaces independent of the programming language used to implement those methods.


IDL, usage and implementation

IDL, usage and implementation

IDL, usage and implementation is an overview of the relationship between IDL and application development languages. Object providers use IDL to define the interfaces to their objects. The IDL can be directly defined by the object provider or can be produced transparently to the user in application development tools. Code emitters and generators produce the following elements:

The IDL compiler takes as input an IDL file and produces the usage binding files that make it convenient to implement and use objects that support the defined interface within a particular programming language.

For an Enterprise JavaBean, you can create the IDL files from the bean's interface and home classes.