cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Gentry <>
Subject Re: Modification and deletion of data objects
Date Mon, 27 Jul 2009 16:34:38 GMT
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 <>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.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message