Juan, All the issues I ran into were probably solvable. But here is the high level: -- Since I was using the command pattern I initially returned a list of my parent abstract data object which all data objects inherit from. This created a very large code base, and in fact would get random errors in Dev Mode and alternate behavior compared to what was expected when I deployed. -- I do stateless sessions, each call to the server is atomic in nature. This is for scaling reasons, I test with multiple servers and will via scripts rotate a single client session to multiple servers to verify I can scale horizontally. I did not look into why, but Dozzer seemed to have issues with this (I would get persistence errors), my assumption it is caching something on the server. -- Compile time, drove me nuts. I am impatient. :D -- I have a fair number of database linkages all defined as lazy. Dozzer by default seemed to instantiate them or I ended up with errors when I serialized them for sending to the client.
Tim On Jul 9, 2013, at 10:42 AM, Juan Pablo Gardella <[email protected]> wrote: > I don't have issues with Dozzer. What kind of problems dou you have? > > > 2013/7/9 Timothy Spear <[email protected]> > 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. > > > > > -- > 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.
