Hi Jano Thanks for your response. So, what do you use for mapping between your DTOs and the model? I have had headaches with Dozer which I believe is the best out there. I wouldn't really mind putting my domain into the client.
Chanda On Wed, Sep 17, 2008 at 5:18 PM, Krzysztof Janowicz <[EMAIL PROTECTED]> wrote: > Hi, > > 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. > > Jano > > 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 > > > > > >
