I've actually used both and frankly I have been pretty disappointed with DataNucleus (the JDO/JPA impl that comes with the app engine). Although using JDO annotations on datanucleus was successful from a POC point of view, but I couldn't for the love of god get the POJO attach/detach mechanism to work, something that is crucial when you have to send objects down to the client, have them sent back with changes and updated into the datastore. The testcase posted on datanucleus' website didn't work for me for this scenario and no one on their forum could advice me on why it was failing.
I've hence abandoned datanucleus for hibernate + gilead. Hibernate supports JPA annotations as well along with some extentions. I am a happy clam now :) The current roadblock I see with GWt and the data model is the absence of a data binding framework that I can use to bind POJOs to elements such as grid/tree etc. If I find something that does that (and is freeware), I'm going to send the author a box of chocolates. On Feb 7, 2:17 am, PierreR <p.radermec...@gmail.com> wrote: > I can be a little more precise here. > > GWT 2.0 will probably correctly serialize enhanced classes. But there > are case such as for List where Hibernate uses a PersistentBag to > implement List. > > At that point, GWT will not be able to serialize/deserialize the class > containing the List field. > > Is this right ? > > Thanks > > On Feb 6, 12:03 pm, PierreR <p.radermec...@gmail.com> wrote: > > > > > Hello, > > > I am still very confused about the enhanced serialized class "issue" > > in GWT version 2.0. > > > I would like to use GWT for a CRUD application. One of the advantages > > I can see over Flex, is the possibility to use shared entity java pojo > > both on the client (detached) and the server. I don't want to use DTO > > (even if there are generated with Dozer) or Gilead. The French book > > "Programmation GWT 2" seems to say it does not work "as is" while > > Google help seems to say the "issue" has been fixed in 2.0. > > > I know there is a solution called "objectify" for the App Engine but I > > am using JPA/hibernate right now. > > > Thanks for your help. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.