You do not need to use the Externalizable interface to do lazy associations with DMS. You just need to follow the normal rules for mapping Java to AS classes (public read-write properties must match, RemoteClass(alias=...) needs to be set, zero arg constructor).
We exclude the lazy="true" properties from serialization... neither the get nor the set method will be called on those instances during serialization itself. Instead, in the message sent across the wire a separate header is used to store the "referencedIds" for each lazy="true" property. These headers are then used to repopulate those properties on the client. Jeff ________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Den Orlov Sent: Tuesday, December 18, 2007 3:33 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] LCDS, FDMS, Custom serialization of lazy references I can't find information at LCDS/Data Management Services documentation about proper way of custom serialization of lazy references. I mean what should I write at readExternal()/writeExternal() for java/as Managed object that have lazy reference to other Managed object. Den