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 <chand..usakatimes.com> 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
>
This archive was generated by hypermail 2.0.0 : Wed Sep 17 2008 - 11:01:51 EDT