Meaningless Drivel is fun!*
The moose likes GWT and the fly likes GWT + REST + JSON Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "GWT + REST + JSON" Watch "GWT + REST + JSON" New topic
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: 10172
    
    8

Check out http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/jsonp/client/JsonpRequestBuilder.html


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
sagar giri
Greenhorn

Joined: Nov 08, 2010
Posts: 5
Thank you Maneesh.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: GWT + REST + JSON
 
Similar Threads
Sending a jason object via Post
How do I send a JSON object from the client to the server in a POST request?
Struts2 + GWT
Question about servlet filters
Q on Request filters and Response filters?