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.