문제

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 a a 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!

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top