cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Krzysztof>
Subject Re: Using Cayenne in GWT wthout DTOs
Date Wed, 17 Sep 2008 15:18:56 GMT

I am using Cayenne with GWT and IMO the splitting between the Cayenne
DTO (DAO) and their 'duplicates' on the client side (GWT) works very
good. Both are not simple duplicates but more like pieces with
complement one another. just think of the security issues putting all
application logic on client side. IMO the client side objects are more
like beans. Moreover, GWT is still very restricted in terms of modeling
more complex classes on client side.


Chanda Fake schrieb:
> 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