On Wed, Jul 2, 2008 at 6:00 PM, Eelco Hillenius <[EMAIL PROTECTED]> wrote: >> 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).
Paging is definitely better left to the DB! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
