Hi guys, I started experimenting with GAE (Google AppEngine) and I find persistence coding-style beautiful. But, there is the problem with "use with GWT", since the annotations import from "javax.jdo.annotations" package (with obviously is unknown to GWT) and the PersistenceManagerFactory acts very similar to Hibernate's session mechanism (attaching objects returned by a query to the manager).
Do you know of any *good* solutions for this matter? I ended up coding a second "mirror" class (like UserVO which "reflects" the members of User - at least the ones that are serializable) and a mapping mechanism from persistence classes <=> VO classes, which is used on server-side when handling RPC objects. While this may work, it increased the code needed by 170% (number taken from 1 persistence class of mine, Greeting + the two additional classes, GreetingVO, GreetingDataObject). Is there a better way than this (like ignoring certain imports)? Thanks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
