Re: GWT and Hibernate
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 <post2edbras@gmail.com>
+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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home