I looked at Dozzer and ran into to many issues. Since I was going with the command pattern I converted all result sets to a simple <ArrayList<HashMap<String,String>> For performance reasons, I do cap the amount of data I return. Much smaller code base (but does dramatically increase runtime error checking).
Tim On Jul 9, 2013, at 10:30 AM, Juan Pablo Gardella <[email protected]> wrote: > I've used "detach solution" using a filter, so it is transparent for you. I > put a sample using it: > https://groups.google.com/forum/#!topic/google-web-toolkit/fkbowz5-5do > > But I prefer using the DTO alternative (I am using Dozzer). As Ed said, > perhaps you spent some time in the configuration, but I prefer this > alternative instead sending the model. A DTO can adjust better to the UI than > an entity. > > Juan > > > 2013/7/9 Ed <[email protected]> > +1 For Karim solution. > > > > I use Dozer now, but it costs a lot of time to put it all together, I even > had to patch Dozer :(.. > > So I would go for the manual solution: you have full control, compose one dto > that exists of several other domain objects. > At the end the manual solution costs you almost the same as the > "configuration" solution like I did, and don't forget the Reflection overhead > that is certainly impacting your performance. > > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/google-web-toolkit. > For more options, visit https://groups.google.com/groups/opt_out. > > > > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/google-web-toolkit. > For more options, visit https://groups.google.com/groups/opt_out. > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
