MyIdl.idl: module MyMod{The interface definition results in a class for the interface containing all the elements defined in the IDL interface. The Java interface extends from the common object reference interface org.omg.CORBA.Object.
MyInterface.java:Each operation maps to a single method in the Java interface generated for the IDL interface. The method name and operation name are the same.
public interface MyInterface extendsThe return type of the operation maps to the return type of the method following the rules for primitive type mapping.
public interface MyInterface extendsThe in parameters of the operation map, in order, to parameters of the same names in the Java method signature.
MyIdl.idl;The type object in IDL is an object reference, and so maps to the object reference base type org.omg.CORBA.Object. The type MyInterface in IDL refers to the IDL interface, so parameters and return values map to the Java interface generated for the IDL interface. The Java interface derives from org.omg.CORBA.Object.