Hi Carlos,

I'm wondering now what should be on the AMF PHP sight to have it working.
Maybe I will try to find some time to investigate it. Since on Java HashSet
is ok, maybe on PHP sight there is something which can accept ArrayList. ;)

Thanks, Piotr

2018-05-16 12:02 GMT+02:00 Carlos Rovira <[email protected]>:

> Hi,
>
> just let you know that I tried to retrieve a Collection from Java with
> RemoteObject/AMF, and that worked without problem. I updated the example
> with this test that compose a java.util.Set (a HashSet), send it and we get
> it in Royale as a royale ArrayList.
>
> I'm a bit surprised that this works without much problem. Still don't try
> (know) if sending ArrayList from Royale to the backend will work. Maybe
> BlazeDS expect to find an ArrayCollection, and will find an ArrayList...
>
> So far so good. I completed the example as well with some more combinations
> (nesting typed objects in a typed object, nesting an array of objects,...).
>
> As well fix a problem in Reflection adding a Try-Catch, that make object in
> both layers need to have exactly the same number of properties. Now, the
> as3 layer can have less properties. This is something widely use in Flex.
>
> thanks
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>



-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Reply via email to