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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T19:50:07+00:00 2026-06-18T19:50:07+00:00

I’m using GWT-GAE and faced a bad issue dealing with RPC Can’t use Entity

  • 0

I’m using GWT-GAE and faced a bad issue dealing with RPC
Can’t use Entity Classes on the Server Side within the Client Side

I checked this first answer for that question [here]

but the solution will cause other errors and It’s too hard to Implement

So is that a problem to Import server side classes into Client Side classes cuz there is a guy said in the link included above he said :
There are a couple of things to keep in mind about GWT:
Server-side classes can import client-side classes, but not vice-versa (usually).
The client-side can’t import any Google App Engine libraries (i.e. com.google.appengine.api.users.User)

is that true if so how to overcome this problem I have to use server side classes in the client interface

Hint: I’m Using JDO and No-SQL database (GAE Datastore)

Thanks in Advance

  • 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-18T19:50:08+00:00Added an answer on June 18, 2026 at 7:50 pm

    What that quote means is that any code you send to the client through RPC must be converted to Javascript. Thus, any Java constructs or libraries that cannot be converted to Javascript, will not work on the client. Any code that works in the client will (should) work on the server because it’s still just Java, and code ran in the server doesn’t need to be converted into its equivalent in Javascript, thus that restriction does not apply.

    As far as helping you with your particular problem, we’ll need some more specific information regarding any issues you’re facing. Typically what you want to send down through an RPC is an object that simply transports your model data to the client, where the data can be used. This is especially so when your model uses code in the server that cannot be converted to Javascript.

    In other words, if your entity class uses some server specific code, you’ll need to leave that code in the server, and only send the data to your client, along with any cod that you’ll need there, but that can indeed be sent to the client. This is a good distinction between GWT RPC and the newer RequestFactory, which is probably what you’ll need if that’s the problem you’re facing.

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

Sidebar

Related Questions

I'm new to using the Perl treebuilder module for HTML parsing and can't figure
I am using JSon response to parse title,date content and thumbnail images and place
That's pretty much it. I'm using Nokogiri to scrape a web page what has
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I am trying to find ID3V2 tags from MP3 file using jid3lib in Java.
I am confused How to use looping for Json response Array in another Array.
I am using the SimpleRSS gem to parse a WordPress RSS feed. The only
I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
I want use html5's new tag to play a wav file (currently only supported
We're building an app, our first using Rails 3, and we're having to build

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.