Java Programming  «Prev 

Simplified interface mapping

Interfaces: references, inheritance, and operations

MyIdl.idl:
  module MyMod{
    interface MyInterface{
      };
  };
All elements defined in a module are in the same package.
All the auxilliary classes generated for the interface are also in this package

MyInterace.java:
  package MyMod;
  public interface MyInterface
    extends org.omg.CORBA.Object{
  }
A Java interface is generated for the IDL interface. A number of auxiliary classes are generated as well.