Hello.idl
.
module HelloApp { // Add subsequent lines of code here. };
idltojava
on the IDL, this statement will generate a package statement in
the Java code.
In your Hello.idl
file, enter the interface statement:
module HelloApp { interface Hello // Add { // these // four }; // lines. };
When you compile the IDL, this statement will generate an interface statement in the Java code. Your client and server classes will implement the Hello interface in different ways.
In your Hello.idl
file, enter the operation statement:
module HelloApp { interface Hello { string sayHello(); // Add this line. }; };
Because our little Hello World application has only a single operation,
Hello.idl
is now complete.