Past exam paper question: Write code for basic IDL - Java.
0 replies, posted
Hey, I have exam tomorrow, and looking at past exam papers, it had question like this:
[QUOTE]Write the code for a basic IDL that should consist of a module, an interface and an operation that
return a int and receive as input a string (Note: Please make sure to use the IDL to Java Mapping
Specification in order to map the java types int and string to the corresponding IDL types). What files
will be generated for you?[/QUOTE]
Am I right to say:
[CODE]module HelloApp {
interface Hello {
long sayHello(in string input);
};
};[/CODE]
and the files that will be generated are:
_HelloImpBase.java,
_HelloStub.java,
Hello.java,
HelloHelper.java,
HelloHolder.java,
HelloOperations.java.
Or did I mis-understand question in general?
Sorry, you need to Log In to post a reply to this thread.