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/DevGuideCodingBasicsXML.html 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/piriti

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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to