Re: Modification and deletion of data objects

From: Michael Gentry (mgentr..asslight.net)
Date: Mon Jul 27 2009 - 12:34:38 EDT

  • Next message: Andreas Hartmann: "Problem restoring dump with BLOBs"

    I concur with Mike. Putting the business logic in the Cayenne Data Object
    subclass works pretty well. I also use the same approach with EOF. The
    idea of having a transfer object just feels unclean to me and unneeded.

    On Thu, Jul 23, 2009 at 1:28 PM, Mike Kienenberger <mkienen..mail.com>wrote:

    > I don't know of anyone using Cayenne with Transfer Objects to business
    > objects. I tried writing a couple of projects like that, but my
    > experience was that it's not a useful way to design applications since
    > my business objects were practically identical to my Cayenne objects.
    > I found that making the Cayenne objects conform to a business
    > interface worked much better for my projects, which avoided the
    > overhead of transferring state between objects.
    >



    This archive was generated by hypermail 2.0.0 : Mon Jul 27 2009 - 12:35:11 EDT