Saturday, February 20, 2016

Re: ProjectStruture

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 or use a library that maps from Java POJOs to/from XML. As example of such a library take a look at

The above should allow you to not rewrite all the server side code.

-- J.

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
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment