Basic object marshaling

16 views
Skip to first unread message

Wes Widner

unread,
Mar 19, 2011, 12:16:37 AM3/19/11
to jp...@googlegroups.com
I added basic object marshaling to the framework. The unit test for it is RPCObjectMarshallingTest. It takes two parameters, name and age which correspond to getter/setters for the User object. I'll need to add recursion to make it accept nested objects and some more logic to try and set public properties. Detecting for custom annotations wouldn't be a bad idea either.

I tried using Xstream but it didn't like my use of anonymous classes. Digging into it made the whole process seem a lot more complicated than it needed to be so I rolled my own.

-Wes
Reply all
Reply to author
Forward
0 new messages