Idltojava is a tool that converts OMG IDL filesto Java files. Review the following example:

Hello.idl
Java Code:
module HelloApp {
interface Hello
{
string sayHello();  // Add this line.
};
};
Generated: Hello.java
Java Code:
package HelloApp;
public interface Hello
extends org.omg.CORBA.Object {
String sayHello();
}