Is it possible to return types like eg java.awt.Image from a method defined in IDL without having to write some wrapper implementation to hold the values of the original variable?

Rahul Bindu

You can specify the return type to be a sequence of octets which is equivalent to Java's byte array. When implementing the remote method get the bytes for the image file) and return this byte array.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


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

 

 

About | Sitemap | Contact