How to write the IDL if I just want to transport a Java object using CORBA? Both the client and the server are written in Java.

jeff currier

Assuming you want to pass a reference to the Java object and not a copy of it, define an IDL interface to represent the object and implement its interface. Then, you would have an outgoing parameter whose type would be the interface you defined.

interface someobject
{
.....
}

interface someotherinterface
{
    void getobject(out someobject);
}
0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


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

 

 

About | Sitemap | Contact