Hi Sam,
Think of it differently.
GWT is a java compiler at first. You live in a HTML5 system.
This system supports String operations (so that JSON+XML).It supports File Download\Uploads (and binary).
It supports HTTP requests.
It supports DOM, Canvas rendering, WebGL + 3D VR + Web 3d Audio, e,t,c.
As a result all of that is supported in GWT.
Right ?
On Saturday, February 20, 2016 at 7:48:06 PM UTC+3, Sam Wootton wrote:
Thanks Jens... perfect. Exactly what I was after (before I disappeared down a dead-end of rpc calls and tons of re-writing, which I'd probably give up on).Loads to look in to, and get going on. Thank you. I'll see how far I get and post any questions I have. Hopefully my only remaining concern is the file upload and download functionality.Thanks again, much appreciated.Regards, SamOn 20 February 2016 at 15:46, Jens <jens.ne...@gmail.com> wrote:GWT-RPC is just one convenient way to communicate with a server using GWT. However GWT-RPC uses its own serialization format that is based on JSON. While convenient to use GWT-RPC also has some pain points that are often discovered later.If you just want to make a POST / GET to an URL and transfer some serialized data (JSON, XML, custom) you can use GWT's RequestBuilder class (which is actually used internally by GWT-RPC as well). In order to get your XML going you can use GWT's XML API http://www.gwtproject.org/doc/latest/ or use a library that maps from Java POJOs to/from XML. As example of such a library take a look at https://github.com/hpehl/DevGuideCodingBasicsXML.html piriti The above should allow you to not rewrite all the server side code.
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment