Integration with synformation is easy. I don’t use GWT’s RPC mechanism, but the JSON format for client-server communication. GWT finally supports sending requests with content-type
application/x-www-form-urlencoded, which is how it’s normally done. On the server side, I can now use
request.getParameter() instead of having to read the posted data directly. It’s really not a big deal, but more convenient. The new module
com.google.gwt.http.HTTP provides the necessary functionality.
I’ve written a quick example. It’s available here. It sends formatting instructions to the server via JSON. The server formats the current time and sends the text back to the client. The relevant portion of the page is updated to display the current server time. Note that not the whole page is updated, only the text with the server time. That’s because client-server communication is done asynchronously in the background. Although it’s only a small example, it already has the complete communication architecture for RIAs.