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 compound
objects.  For example, I have the following:

webapp.client.dto.ADTO
webapp.client.dto.BDTO
webapp.client.dto.TestDTO

public class TestDTO implements Serializable {

   private int id;
   private String name;
   private Date date;
   private ADTO a;
   private BDTO c;

 ... public getters/setters ...
}

Will this be ok to define?   A and B DTO might also be a compound
objects, but they still ALL live under the client umbrella.

Thanks!
                     Tom
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to