aspose file tools
The moose likes GWT and the fly likes GWT + REST + JSON Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Frameworks » GWT
Reply 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: 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.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: GWT + REST + JSON
 
Similar Threads
Struts2 + GWT
Question about servlet filters
Sending a jason object via Post
How do I send a JSON object from the client to the server in a POST request?
Q on Request filters and Response filters?