How can I pass a serializable Java object by value using CORBA? What would the IDL be?

Vadim Gurov

Java serialization and CORBA support for passing objects by value are similar.

So to use CORBA object by value, you have to declare in IDL the full description of your value type:

ValueType MyValueType { 
  private long l1; 
  factory MyInitMethod(in long arg); 
  long getLong(); 

and then use MyValueType in interface's methods arguments.
About | Sitemap | Contact