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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T00:03:47+00:00 2026-05-26T00:03:47+00:00

I was so excited to use GWT Maps API that wrote a service which

  • 0

I was so excited to use GWT Maps API that wrote a service which takes LatLng and LatLngBounds in its interface… Only to find out at runtime that those classes do not implement Serializable, probably because they are Javascript native objects.

What would be the best approach to work with location data types on the server side with GWT then? Are there any libraries which already provide serializable classes and conversion to/from LatLng & company? Or everybody just writes their own wrappers?

  • 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-26T00:03:47+00:00Added an answer on May 26, 2026 at 12:03 am

    See if any of this code I wrote helps you out:

    https://github.com/dartmanx/mapmaker/blob/master/src/main/java/org/jason/mapmaker/client/util/GoogleMapUtil.java

    GWT provides the ability to create Custom Field Serializers for classes that don’t implement Serializable (or IsSerializable). However, JavaScriptObject is an odd duck indeed and doesn’t let you directly access any of its data members on the Java side. So, writing a serializer is going to be a challenge at best.

    You may also wish to have a look at google’s docs about what sorts of values can be returned:

    http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsJSNI.html#passing-javascript

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

Sidebar

Related Questions

I remember the days of Shadowrun that got me excited about hacking. There is
I'm always so excited to get a chance to use linq to xml and
I've read that to optimize page load, you should use one css and one
I've been reading about various new additions to c++ recently that i'm really excited
We use Basecamp for project management and their new interface is REALLY fast. This
I have a project that I'm currently working on but it currently only supports
I'm all excited about binding an activity to a Service and transferring data without
I use a debugging script that runs several related processes in succession with the
Background I have a Windows service that uses various third-party DLLs to perform work
I have a windows service application that runs as Local System, and I want

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.