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

I am learning GWT and i have read at multiple places that using MVP
I am using GWT 2.03 and am have an image that I want to
I got a view (GWT MVP pattern) that contains a listbox. I created a
Background Story: I am developing a GWT application, using the standard MVP design pattern,
I have some doubts, i m developing a web application in GWT using MVP
I'am using GWT 2.4 with Hibernate and RequestFactory and I have queries like this
I have a GWT App and I am using GWT MVP with Places /
I have a GWT MVP application using Activities and Places. This is inspired by
I'm using GWT 2.4 with the MVP pattern, with uiBinder, and a widget: GwtUploader.
If I am using the MVP pattern with GWT, as in the GWT architecture

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.