« Return to Thread: Refactored JavaRpc - JSONObject from json.org

Re: Refactored JavaRpc - JSONObject from json.org

by Jean-Baptiste BRIAUD -- Novlog :: Rate this Message:

Reply to Author | View in Thread


On Jul 1, 2009, at 16:42 , Andreas Junghans wrote:

[CUT]
>
> I'm fine with the annotation approach for controlling the details.
> However, the fundamental serialization algorithm should be
> configurable on a more global level. The annotations can then be used
> by the (de)serializer for fine-grained control. What do you think?

Both levels are needed depending on contraints JavaRPC user have.
If one can't change beans, things can be adjusted from outside only.
If one can change or ammend the bean, OO approach is in favor of  
adjusting serialization behavior from withint the bean.
The idea in that case is not to push business information (like  
exclude this or that) at global level.

Finally, both levels seem usefull depending on usage.

------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@...
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

 « Return to Thread: Refactored JavaRpc - JSONObject from json.org