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 6043207
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T06:52:27+00:00 2026-05-23T06:52:27+00:00

Using GWT with the MVP pattern , I’d like to have a place that

  • 0

Using GWT with the MVP pattern, I’d like to have a place that represents a somewhat more complex state (as opposed to the canonical example that has only a “name”). My first inclination was to use a shared transfer object that I would serialize for the token. However, Gson (the serialization library I’m using), does not appear to be GWT compatible.

I started down the path of manually serializing and deserializing myself, but this seemed like a use case that must be fairly common. So my question is: what is the “ordinary” means of tokenizing a the complex state of a place?

  • 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-05-23T06:52:28+00:00Added an answer on May 23, 2026 at 6:52 am

    History tokens are part of URL and show up in the browser address bar. To make this work you’d first need to serialize them, then URL encode them. Also there are practical limits to how long the URL can be: What is the maximum length of a URL in different browsers?

    Do you plan to bookmark this URL? If not, you should just store the object in a map under some ID and include this id in a token.

    If you do need to go down your route then generating JSON in GWT is most easily done via Overlay Types.

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

Sidebar

Related Questions

Have you tried using MVC or any other UI pattern for GWT client code.
If I am using the MVP pattern with GWT, as in the GWT architecture
I'm at the beginning/middle of a project that we chose to implement using GWT.
Can I access spring bean that exposed using http invoker (server) from GWT application
Using TortoiseSVN against VisualSVN I delete a source file that I should not have
I am thinking about implementing a user interface according to the MVP pattern using
Using GWT 1.6.4, I have the following code to retrieve the dimensions of the
Using GWT I have a Java class: public class Pojo { private String name;
I m just starting using gwt and so far so good, however after reading
I am using GWT for my client side application. I am not using GWT/Java

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.