Oh, I understand. Definitely agree; I think the OP just isn't aware of
some S2 functionality and/or best practices, that's all.

Dave

On Tuesday, October 26, 2010, Li Ying <liying.cn.2...@gmail.com> wrote:
> I mean:
>
> Representing associated data by a DTO class and then holding DTO
> instances in one List
>
> is better than
>
> Holding data in several separated Lists each represent one column.
>
>
>
> 2010/10/26 Dave Newton <davelnew...@gmail.com>:
>> On Tue, Oct 26, 2010 at 4:32 AM, Li Ying wrote:
>>> I think this is a better design, because the data modal is more
>>> compliant with OO principles.
>>
>> Better than what?
>>
>> (And as an aside, there's nothing particularly OO about what's
>> essentially a struct, although from a pragmatic viewpoint,
>> particularly when doing data transfer, sometimes such constructs seem
>> reasonable. See http://c2.com/cgi/wiki?DumbDataObject for a brief
>> discussion.)
>>
>> Dave
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to