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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T09:45:12+00:00 2026-06-01T09:45:12+00:00

I have several GWT Maps API JavaScriptObjects (LatLng, Polyline) which I want to send

  • 0

I have several GWT Maps API JavaScriptObjects (LatLng, Polyline) which I want to send between the client and the server with RPC but becouse they aren’t serializable I can’t use them. Currently I have Pojos for RPC communication and I mirror them into their JavaScriptObject twins on the client side…

Is there any way to do send these objects through? I have the feeling I’m missing something about how should I do this.

  • 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-01T09:45:13+00:00Added an answer on June 1, 2026 at 9:45 am

    JavaScriptObjects are not real Java objects, so while they work in dev mode and when compiled to JavaScript, they can’t work in a standard JVM, not connected to a browser. So no, you can’t send the JSO to the server over RPC. A standard JVM won’t even be able to load the class, since a JSO will have native methods, and the JVM won’t have proper implementations of those methods.

    If you can control the JSO, you might make both it and your POJO implement a common interface. For Maps API, you probably don’t control it – a thought there could be to serialize the objects to JSON strings and just send those to the server. If the server then needs to read out the data, you might use Gson, Jackson, json.org, etc to read the data in those JSON strings.

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

Sidebar

Related Questions

I have developed several GWT Web Applications. Latest one is a little modification of
I have several thread pools and I want my application to handle a cancel
I have several UILabels of various sizes on my Views. I want all the
I have a GWT application that I want to release as software-as-a-service (SAAS) on
I have several C files. and I created a function which is named X_STRING(arg1,arg2,arg3,arg4);
I have created a sort of CMS with GWT. This CMS has several widgets
I am currently developing Java/GWT-application which is hosted on a weblogic application server. I
we have a bug with ie8(under XP), and ie9 (under 7) doing several RPC
I have several nested enums similar to the following. I want to have an
I have several pages to do with several table on each page. I've got

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.