I have some POJOs on my server like Role, etc... They have many getter
methods that return subsets of actual data. For example, Role has
getGroups() and getSubGroups(), where getSubGroups() returns a
filtered list of what getGroups() would (they both reference the same
Set in the object, but just loop over it differently).

My problem is that when an object gets created on my client side, two
variables are created, groups, and subGroups, even though I didn't
specify a variable called subGroups (I DID specify a groups, though).
When I send this object back over the wire, I get a lot of redundant
stuff sent because it's serializing both groups and subGroups.

What I want is for the serializer to respect the variables I set in my
object, and not to create ones that aren't there. I know that an
object can be set dynamic to allow what I'm seeing, but I haven't set
this on any of my objects, and I'm seeing dynamic properties being set
anyway.

Any help is appreciated!

-Josh





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to