On 5 juil, 17:09, sathya <[email protected]> wrote:
> I have a server model where, if we send JSON request, server replays
> back with JSON response. Now I need to develop UI part for this
> project using GWT (no need to develop server side as it has been
> already developed).Can you please suggest me how I send and receive
> JSON data from GWT front end.
> To brief, server receives JSON request and replays back with JSON
> response. Now I need t create UI where I send JSON request and receive
> JSON response.
> I believe Making Cross-Site Requests is one option. Not sure are there
> any other ways to do this.(I just need   to send JSON request and
> receive response from server without worrying about server code)

Have a look at the following classes:
 - RequestBuilder to make the request
 - JSONObject and the likes to build the JSON request
 - JSONParser to parse the JSON response back into a JSONObject or
other JSONValue

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to