Data Transfer Object (DTO) pattern is explained in this page http://java.sun.com/blueprints/corej2eepatterns/Patterns/TransferObject.html
<http://java.sun.com/blueprints/corej2eepatterns/Patterns/TransferObject.html>The Sample Code Implementing the Transfer Object Pattern gives a pretty clear explanation of how to implement the pattern (substitute JDO object for EntityBean) . On Wed, Dec 22, 2010 at 3:34 PM, Cesar Ruiz <[email protected]> wrote: > Hey can you please explaine me the DTO way, with some code or an example, I > really need to retrieve those objects. Thank you in advanced. > > Kido. > > > On 21 December 2010 20:18, Stevko <[email protected]> wrote: > >> I may be dated on this with not keeping up on the latest gwt advances. >> The problems is a JPA or JDO augmented class is not directly >> portable (serialize/deserialize) from the GAE/J class to a GWT/js class >> like non-persistent classes are. >> >> The classic DTO case (and not elegant) is to copy+paste your persistent >> classes into a shared model w/o the database twist and write the >> transporters. >> Many folks today have decided to skip the JPA layer and use Objectify for >> GAE database access. Its led to less headaches for some bloggers. >> >> >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google App Engine for Java" group. >> To post to this group, send email to >> [email protected]. >> To unsubscribe from this group, send email to >> [email protected]<google-appengine-java%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/google-appengine-java?hl=en. >> > > > > -- > Cesar Ruiz. > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" group. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-appengine-java%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > -- -- A. Stevko =========== "If everything seems under control, you're just not going fast enough." M. Andretti -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" 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-appengine-java?hl=en.
