In CORBA, which of the following files generated by the idltojava compiler must be compiled before running the server application?

Submitted by: Administrator
a. Only The Holder Classes
b. Only The Helper and Holder Classes
c. The implementation class(es) written by the user to provide body to the methods defined in the interface class
d. All idltojava generated files (stubs, skeletons, helper, holder and interface classes)


Choice C and D are correct. The Helper class (a final class) provides auxiliary functionality, notably the narrow() method required to cast CORBA object references to their proper types. The Holder class provides operations for out and inout arguments, which CORBA has but which do not map easily to Java's semantics. The server application cannot be compiled successfully until the implementation class(es) has/have been written and compiled. All the other generated files however must be compiled to form '.class' files from the '.java' files. Thus all the implementation classes written by the user and all the "idltojava" generated files must be complied to run the CORBA Server.
Submitted by: Administrator

Read Online BEA Weblogic Job Interview Questions And Answers