Re: DTO and Compound Objects

2009-09-23 Thread olivier nouguier
Hi, http://code.google.com/events/io/sessions/GoogleWebToolkitBestPractices.html AFAIK DTO should not be composed. HIH On Tue, Sep 22, 2009 at 11:06 PM, Thomas Holmes wrote: > > I am working on a test GWT_RPC application. I have Hibernate POJO's > that use annotations, and I have declared th

Re: DTO and Compound Objects

2009-09-22 Thread Paul Robinson
That should be fine. Serializable objects don't have to be trivial and the system is fairly robust. It's hard to break gwt serialization (although you can - for example see http://code.google.com/p/google-web-toolkit/issues/detail?id=3577) BTW - if you put your DTOs in a "client" package, that me

DTO and Compound Objects

2009-09-22 Thread Thomas Holmes
I am working on a test GWT_RPC application. I have Hibernate POJO's that use annotations, and I have declared those in the Spring 2.5.6 applicationContext xml file. So, I also created a bunch of DTO POJO's, and my question is ... do these RPC POJO's need to be VERY basic, or can they be compoun