| Author |
GWT + REST + JSON
|
sagar giri
Greenhorn
Joined: Nov 08, 2010
Posts: 5
|
|
Hi all,
I am new to GWT.
I have an application that runs on Flex client. I want to implement a GWT client (GWT + REST) for the same backend implementation.
Parameters are passed using JavaScript Object Notation (JSON) within the request body. The response consists of a standard HTTP status code and an optional JSON response body.
A list of items to be fetched based on user-specified filter criteria. The filter criteria include any combination of content and paging/sorting attributes.
The contents in the JSON response is a set of values that have to be displayed on a lazy scroll table on the client side.
I tried my best to find some examples online that is close to the implementation I am working on. I did find some examples (RESTlet + GWT , Resty), but I am not sure if I am on the right track.
How do I send a JSON object request to a particular URL? How do I display the content on a lazy scroll table?
Can you please help me by suggesting ways in which I can implement the same.
Thanks in advance.
|
 |
Maneesh Godbole
Saloon Keeper
Joined: Jul 26, 2007
Posts: 8566
|
|
|
Check out http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/jsonp/client/JsonpRequestBuilder.html
|
[Donate a pint, save a life!] [How to ask questions] [Onff-turn it on!]
|
 |
sagar giri
Greenhorn
Joined: Nov 08, 2010
Posts: 5
|
|
|
Thank you Maneesh.
|
 |
 |
|
|
subject: GWT + REST + JSON
|
|
|