I exchange directly JPA annotated POJOs between the client and the server, and I persist the same objects within the servlet. GWT compiler ignores the annotations, the servlet use them for persistence. I do not use RequestFactory (I've not yet studied it, probably I'll use it in the future but for other reasons), I'm using GWT RPC and it works well. I like this approach as I achieve minimal duplication with only one class in the GWT's shared folder, but there might be some side effect in some specific cases (all the persistence logic has to be handled on the server side).
Cristiano On 12 Ago, 00:13, J D <[email protected]> wrote: > Thank you for your suggestions. I will look into them promptly. -- 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.
