At Java side, I have
Interface Node
FloatLiteral implements Node
Resource implements Node
And DAO that provide service that returns
public List<Node> getAll()
Thus it can return FloatLiterals and Resources.
When I use Flash Builder 4 Data/Services wizard, it generates value object only for Node. If I force the wizard to generate value objects for FloatLiteral and Resource by adding the below (which will be removed after value objects are generated)
public List<FloatLiteral> getFloats()
public List<Resource> getResources()
The generated value objects seems does not build the relationship like at Java side. All are standalone classes.
Anyone have idea how to make Flex remoting support inheritance and polymorphism by using Flash Builder 4 Data/Services wizard?
Thanks.