On Wed, 28 Nov 2007, Gervais wrote:
> A have already understand the idea of the CPM. But i think it is boring 
> to write another class "just" for handling some properties or beans.
> But now i have read "Core J2EE Patterns - Transfer Object[1]" and DTO 
> can give me more than "just handling some properties or beans". Now i 
> like Data Transfert Objects and i know why it is good to use it.

To give another point of view, I think that DTOs are a
design smell that should be avoided normally, at least in an
environment without remoting, and the Core J2EE Patterns
give me a vague memory of being depressing workarounds for
fundamental problems in the old J2EE (EJB 1 and 2 mostly)
versions ;)

In every Wicket project I've been in, we have had Wicket
manipulate our domain objects directly, and this has worked
in around 95 % of the cases. The rest we have handled case
by case.  Surely your mileage may vary.

Best wishes,
Timo

-- 
Timo Rantalaiho           
Reaktor Innovations Oy    <URL: http://www.ri.fi/ >

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to