I've spent some time looking through the new RequestFactory and ValueStore packages in GWT 2.1-M2. I am excited to see data binding and validation creeping into the core GWT code. However, I have a bit of a concern that the current implementation is too specific to JPA- based applications.
Will it be possible to take advantage of the upcoming data-aware widgets without using RequestFactory? My application today is using a REST-based JSON back-end with GWT as the UI. Thus far, I've been able to implement Records for some of my domain classes (which up to now have been JavaScriptObjects, so the fit seems somewhat natural). I can even set Property values against the Records in my ValueStore. But two things are missing. First, I need a way to create a Record instance in the ValueStore based on an existing JavaScriptObject (retrieved from the server using my existing services). Second, I need a way to get the Record back to the server, formatted as JSON and keeping my current JSON structure intact (that is, not using the property-based serialization in the ValueStore). Any thoughts on this? -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
