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.
0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact