On Fri, May 29, 2009 at 4:04 AM, Kent Larsson <kent.lars...@gmail.com> wrote: >> I try not to design my domain models in such a way > > Could you elaborate on this a bit, please?
I kind of "cheat" a bit. When there needs to be something done that involves multiple domain entities, I usually push that logic into a "service" class rather than into the entities themselves. For operations solely involving an entity and its aggregated entities, I usually put that into the entity class itself. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org