Hi Chad, hi Roy, >> Chad Brandon wrote: >> Business methods are currently created on the DAOs if you model operations >> on the entities, does that not work for you? > > Roy wrote: >The short answer is no. I don't think an object that wants to call an >entity's business method should depend on its corresponding DAO.
I second that. According to the Hibernate philosophy, the business objects should contain the business methods, thus producing a rich domain model. Adding business models to DAOs results in a mix up of two concerns (data access on one hand, business logic on the other hand). - Peter ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Andromda-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-user
