Re: [appengine-java] Re: Cant retrieve a list of objects when using GAE and JPA.

2010-12-22 Thread Cesar Ruiz
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 andy.ste...@gmail.com wrote: I may be dated on this with not keeping up on the latest gwt advances. The problems is

Re: [appengine-java] Re: Cant retrieve a list of objects when using GAE and JPA.

2010-12-22 Thread A. Stevko
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.htmlThe Sample Code Implementing the Transfer Object Pattern gives a pretty clear

[appengine-java] Re: Cant retrieve a list of objects when using GAE and JPA.

2010-12-21 Thread Stevko
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