Is useless to double code with DTO then they just have to use the clone () from Gilead to use its pojo with GWT client code.
On 7 déc, 08:13, Dalla <[email protected]> wrote: > Think I´ll probably just go with DTOs then, using a third party lib > for this seems a bit overkill if you ask me :-) > > On 6 Dec, 13:51, Jonas Huckestein <[email protected]> wrote: > > > Hi Dalla, > > > in our team we create an interface for each model object which the JDO > > objects and client objects implement. > > > Unfortunately we were unable to find a solution which requires only > > one implementation of each class, since we use JSON for data transer > > and the client-side implementations are JSNI overlay types. Does > > anybody know of a way to use JDO objects on the client side? > > > Hope I could help :) > > > Cheers, Jonas > > > On Dec 6, 11:34 am, Dalla <[email protected]> wrote: > > > > Hi all > > > > I´m just now getting started with using GWT and GAE. > > > Curious about best practices when it comes to JDOs, and how to handle > > > them client side. > > > > Let´s say I want to store a String and a User object that would be > > > picked up from the UserService. > > > Since the GWT compiler doesn´t emulate com.google.appengine, what is > > > the best way to reach the user object from the client side? > > > Plain old DTOs? > > -- 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.
