cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Gentry" <>
Subject Re: Using Cayenne in GWT wthout DTOs
Date Wed, 17 Sep 2008 15:01:17 GMT
I've not used GWT, but I used Cayenne+Tapestry without using DTOs.  I
would bind my Tapestry components (text fields, labels, etc) directly
to my Cayenne objects and Tapestry would read/update them directly.
When I was finished, I'd dataContext.commitChanges() and go on to the
next page.  I'm not sure if that helps you or not, but maybe it'll
help just a little.

On Wed, Sep 17, 2008 at 1:07 AM, Chanda Fake <> wrote:
> Hi
> I have seen from the mailing list that some people have used Cayenne with
> GWT successfully.What is the best way to expose Cayenne model to GWT without
> using DTOs which I consider as duplication of work. Am trying to use my
> Cayenne domain objects in GWT and running into some  usual issues GWT. Am
> thinking if there is a way to create a module with the offending class
> "CayenneDataObject" and then including it using <inherits ..>. What have
> others done.
> Thanks in advance

View raw message