I'm trying to find a way to get CORBA methods which can accept own classes or even a simple ArrayList as return data type or argument.
I've tried with Any and Object but got not results being an abstract class and an interface each.
I even tried to cast aa received Corba Object to ArrayList as I'm actually giving an ArrayList as parameter but got not results.
As a silly answer you might try Serializing your Java Objects into a byte array and passing them that way to your functions then Deserializing them on the other side. Other than that my experience with Corba has always been encoding/decoding functions to IDL types. IDL is suppose to be one of the benefits of Corba: embrace it!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.