My web service returns a JavaBean with a vector of another type of bean as a member. In other words I have a "FamilyBean" that contains a Vector of "MemberBeans".  With a Java web client this is not a problem, because the client "understands" what a Vector is. But I want to support all types of clients transparently.

Is my only option to alter my JavaBean to use an array instead of a Vector?

It is possible using type mapping to represent a Vector of objects as an array? (Without having to alter the beans?)

Is there some other solution to this problem?

 

Reply via email to