Could I ask what are you trying to do?
I'm trying to achive best performance possible out of BlazeDS + legacyArray option on.
Since mx.collection.ArrayCollection follows Event driven model, which is not performance wise,
BUT! at the same time I'm in constantly need of enhanced features for collection manipulation which is not aimed by native Array,
in other words my cristal dream is to put together collection strengths + native Array speed, that's why I've grounded my customClassArray on
top of native Array. Hence, native Array is not final! I'm able to enhance it and that's what I did ))
And thust I'm facing this serialization problem.. any native Array descendant's can't travel between backend and frontend.
As well I'm not able to cache my huge amount of hierarchical data using SharedObject since it's using the same 'shity' code for serialization to AMF3.
There is a a list of Java to Flex Data types here
If I'm not wrong you can configure BlazeDS to use Array instead of
ArrayCollection to pass data between your server and your client, or it was
LCDS I don't recall.
yep! thanks, I have this page printed and hanged on my wall ))
<legacy-collection>true</legacy-collection> does it's job well,
I'm getting native Arrays out of BlazeDS.
but, as I've said earlier, I need to have myCustomArray going out of BlazeDS, and this thing
acheivable via hard tweaking BDS sources, forcing them to serialize to my custom collection class,
this seems as not acceptable solution for me.
Once I've got a lot's of native Arrays out of BDS, I'm converting them all to my CustomArray
descendant class to utilize collection manipulation features, then in order to save performance on further runs my move was to cache complex tree-structured object using SharedObject, and I have no luck getting the same back! because I'm getting native Arrays out instead of my CustomArray instances
and I'm forced to recursively convert them again to my CustomArray instances, which is nightmare and kills
my attempts to optimize anything.
You can always contribute your tweaking with the BlazeDS app.
I'm curious why SharedObjects is your app an intranet app? What if a user
yes, indeed I'm free to contribute to BlazeDS, but what about SharedObject??
I'm still have NO solution on how to save and restore my custom Array descendants out of it..
Pardon me, why would you think somebody will like to turn off LSO? 99.99% of flash player users even don't know how to do that ))