Yes, the emulation of ArrayList and ArrayCollection will have to have the same [RemoteClass] metadata.
-Alex From: <carlos.rov...@gmail.com<mailto:carlos.rov...@gmail.com>> on behalf of Carlos Rovira <carlosrov...@apache.org<mailto:carlosrov...@apache.org>> Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" <users@royale.apache.org<mailto:users@royale.apache.org>> Date: Tuesday, April 17, 2018 at 2:24 PM To: "users@royale.apache.org<mailto:users@royale.apache.org>" <users@royale.apache.org<mailto:users@royale.apache.org>> Subject: Re: RemoteObject Hi Piotr, great to see you get that working. I suppose the problem is with ArrayList vs ArrayCollection? @Alex, you say that will start working cause we'll have ArrayCollection in emulation components? thanks! 2018-04-17 22:29 GMT+02:00 Alex Harui <aha...@adobe.com<mailto:aha...@adobe.com>>: The emulation components are a valid component set. They are not 100% compatible with Flex and aren't going to be as fast and small as Basic or Express, but they should be operational and may allow the migration of a production app. We won't know for sure until we get further. But as of today, the Flex SDK checkintest runs tests on 6 components without modification. It isn't perfect, but will get better over time. If it turns out there are performance issues, then folks migrating will have to find the hot spots and try to optimize them by replacing the emulation components with Basic or Express components. It will be interesting to see how many folks can run an app entirely on the emulation components. HTH, -Alex From: Piotr Zarzycki <piotrzarzyck...@gmail.com<mailto:piotrzarzyck...@gmail.com>> Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" <users@royale.apache.org<mailto:users@royale.apache.org>> Date: Tuesday, April 17, 2018 at 1:21 PM To: "users@royale.apache.org<mailto:users@royale.apache.org>" <users@royale.apache.org<mailto:users@royale.apache.org>> Subject: Re: RemoteObject Alex, I understand Emulations as something temporary. In the end all of that would be replaced in the real app when someone start write UI or do I understand it wrong? I thought it's only for run App and then step by step rewrite to Royale components. Thanks, Piotr On Tue, Apr 17, 2018, 10:00 PM Alex Harui <aha...@adobe.com<mailto:aha...@adobe.com>> wrote: Hi Piotr, I have not looked into the detail, but I would hope that it would start working once we get more of the emulation components up and running. So volunteers to help with emulation components are always welcome. -Alex From: Piotr Zarzycki <piotrzarzyck...@gmail.com<mailto:piotrzarzyck...@gmail.com>> Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" <users@royale.apache.org<mailto:users@royale.apache.org>> Date: Tuesday, April 17, 2018 at 12:50 PM To: "users@royale.apache.org<mailto:users@royale.apache.org>" <users@royale.apache.org<mailto:users@royale.apache.org>> Subject: Re: RemoteObject Hi Prashant, I just tried your two examples. The first one not going to work cause AMF doesn't recognize ArrayList, but you can always send simple Array - That's an workaround. The second one is working pretty well. I'm using AMFPHP. I've created method which simply get's VO and returns it. - What happened in your case when you did test that ? Thanks, Piotr 2018-02-18 13:50 GMT+01:00 Prashant Kumar <prashaku...@gmail.com<mailto:prashaku...@gmail.com>>: Following cases not working: service.send("passArrayList",[newArrayList(["Test1","Test2"])]); var v1:Vehicle=newVehicle(); v1.name ="Nexon"; v1.brand ="TATA"; v1.dom =newDate(); service.send("addVehicle",[v1]); On Sat, Feb 17, 2018 at 4:15 PM, Carlos Rovira <carlosrov...@apache.org<mailto:carlosrov...@apache.org>> wrote: Hi, I tested some months ago some scenarios with collections sharing some VOs, and worked, but I think we should try more scenarios since complex object graphs could be problematic. Thanks Prashant for looking into this. If you can help trying to evolve the code I can support you with your pull request to include your changes in Royale. 2018-02-17 5:37 GMT+01:00 Prashant Kumar <prashaku...@gmail.com<mailto:prashaku...@gmail.com>>: Carlos, If I sends only primary type as int , number , date etc then all works fine but if I sends custom types as a Arraylist , VOs, and other inherited types does not work properly. Regards, Prashant On 17-Feb-2018 2:50 AM, "Fréderic Cox" <coxfrede...@gmail.com<mailto:coxfrede...@gmail.com>> wrote: Updated https://github.com/apache/royale-asjs/issues/119<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F119&data=02%7C01%7Caharui%40adobe.com%7Caf7310016b214b09117f08d5a49c82d9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636595914499233466&sdata=ekkR98TmfKiGCLDl7jxaJ%2BhJ7ZJFV6uh1f58hyFqmLA%3D&reserved=0>, think I am getting closer :-) On Fri, Feb 16, 2018 at 9:51 PM, Fréderic Cox <coxfrede...@gmail.com<mailto:coxfrede...@gmail.com>> wrote: Updated https://github.com/apache/royale-asjs/issues/119<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F119&data=02%7C01%7Caharui%40adobe.com%7Caf7310016b214b09117f08d5a49c82d9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636595914499233466&sdata=ekkR98TmfKiGCLDl7jxaJ%2BhJ7ZJFV6uh1f58hyFqmLA%3D&reserved=0>, can't get the JAVA part to work but changing the AMF endpoint to AMFPHP I get an error code when calling, so maybe that can help further research On Fri, Feb 16, 2018 at 9:21 PM, Fréderic Cox <coxfrede...@gmail.com<mailto:coxfrede...@gmail.com>> wrote: Any instructions on how to build the example? This is kind of complicated for me as I have 0 experience with JAVA and even less with Maven ;-) -- Carlos Rovira http://about.me/carlosrovira<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7Caf7310016b214b09117f08d5a49c82d9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636595914499233466&sdata=rMkJHjgVoPBk7gRrAC5vjQX%2BM%2FppBIqdHxZOCkfQPlo%3D&reserved=0> -- Regards, Prashant Kumar | Mob.: +91 8408811225 -- Piotr Zarzycki Patreon: https://www.patreon.com/piotrzarzycki<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Caf7310016b214b09117f08d5a49c82d9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636595914499233466&sdata=QSUVPPigUtohm5A9IZQpDZeoNiFjpSDpjqWwBdokkTY%3D&reserved=0> -- Carlos Rovira http://about.me/carlosrovira<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C4fbc16de1e6d4a3280d608d5a4a9a284%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636595970894301484&sdata=EP%2BsA41HjOreGP5oArgydTQYCAHI1fXzQChOSX78BXQ%3D&reserved=0>