Idltojava is a tool that converts OMG IDL filesto Java files. Review the following example:
Hello.idl
module HelloApp {
interface Hello
{
string sayHello(); // Add this line.
};
};
Generated: Hello.java
package HelloApp;
public interface Hello
extends org.omg.CORBA.Object {
String sayHello();
}