Posted By:
Anonymous
Posted On:
Tuesday, January 4, 2005 11:27 AM
Except that you are sending an argument as well as getting a response, and therefore should use either and inout parameter or add an in parameter, the code seems correct. Perhaps you should post the actual code.
Further, although I do see that Sun uses out parameters in their example code, it is preferable (according to Henning and Vinoski) to simply return the value from the operation instead of as an out parameter, i.e. your idl would be something like this:
short newMethod(in short msg);
I am using jdk1.4 to run this and -oldImplBase as flag to idlj
Are you sure you need to use this flag? Aren't you using JDK 1.4for the server?
Guru's requested to comment on this
Try comp.object.corba, this is a very good list which CORBA guru's read.