I need Externalizable since I am working with my existing Java model.
Some of this objects are immutable and don't have setters for some
properties (that properties are populated via constructor). 

That an attempt to avoid unnecessary properties copying from model
object to TO objects.

Is it possible to affect message header to be able to set/get
referencedIds?

Den

--- In [email protected], "Jeff Vroom" <[EMAIL PROTECTED]> wrote:
>
> 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

Reply via email to