> I'm also worried about injecting repositories and such to UI
> components, because it easily leads to domain logic to leak
> to UI layer.

Sometimes the dividing line is thin though. Take for instance sorting
and grouping of lists. Sometimes that is very specific for a UI
screen, and it is a better idea not to pollute your services/ daos
with it. Unless performance plays a role (sorting in DB query is often
better than in-memory with Java).

Eelco

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

Reply via email to