Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7966417
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T06:25:13+00:00 2026-06-04T06:25:13+00:00

We have use GWT Platform with GWTP client and rest web services within GUICE

  • 0

We have use GWT Platform with GWTP client and rest web services within GUICE container. Rest service invocation from GWT client is done using JSONPRequestbuilder.

I want to know which is the best JSON response string parsing technique for GWT? – JSON to Java serialization/deserialization

After lot of search on google, I found out that we have these many options.

  1. GWT built in JSONParser parseStrict method which is called secured and best way to go. But this may not be suitable for complex JSON response string. Becuase you need to write lot of code to parse each item in JSON response and convert to a Java object.
  2. GWT AutobeanFactory approach – I dont know how best to use this? We are using GWT 2.4, you do not have any complete example of using this approach at all. Everywhere, people say its an approach but no where we have detailed description on this. Few samples on google were from gwt older versions which were changed a lot in GWT 2.4. Please somebody share a good example with GWT 2.4 and Autobean factory approach for JSON ser/deser…
  3. JavaScript overlay types: People say it is not the secured way to go. So I am bit hesitate whether we should use this or not.

Moreover, we are migrating from GWT to SmartGWT very soon. I hope, the rest call services with these should continue to work even in SmartGWT without any changes. (Because SmartGWT also comes with a predefined format JSON rest support which we may not use as we already have built these services in general).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T06:25:15+00:00Added an answer on June 4, 2026 at 6:25 am

    If you need introspection (you don’t have a strict schema for your JSNO objects), then use the JSONParser.
    You could also use, with a slightly easier to use API but not documented at all, com.google.web.bindery.autobean.shared.Splittable (more specifically the JsonSplittable in DevMode, and the JsoSplittable in prod mode).

    If you have a strict schema, then use either JSO overlay types or AutoBean. AutoBean has a slight overhead compared to JSOs, but allows the use of List, Set and Map instead of JsArray and custom JSOs. AutoBean can also be used on the server-side or from non-GWT Java clients, via the AutoBeanFactorySource. This can also be useful for unit-tests where you don’t need a sluggish GWTTestCase, contrary to JSOs.

    You can find an example of AutoBean in its official documentation: http://code.google.com/p/google-web-toolkit/wiki/AutoBean

    As for security, as long as you use parseStrict (which AutoBean uses under-the-hood, so no worries), then you’re safe. JSOs won’t be any less secure than AutoBean or JSONParser (or Splittable).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hi I use GWT and I have a com.smartgwt.client.widgets.Button that has the following eventHandler:
I need recommendations from people whom have implemented an easy to use GWT editable
I have a client who wants to use GWT with MySQL. What's the best
I have an ARM-based platform and I'd like to use it to serve GWT
I have a use case where my GWT application is running on a client
I would like to use Gwt-Validation with Gwt 2.4.0. I have in my gwt.xml
Do you have any suggestions of graphing libraries to use with a GWT project?
I have a grails project and I use the gwt plugin 0.6.1. GWT version
I use Eclipse GWT Plug-in to build a GWT app. Later on, I'll have
I'm creating a web application with GWT. I have a method bookMode() that builds

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.