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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T11:34:05+00:00 2026-06-02T11:34:05+00:00

I have 2 project: 1) Client – Android 2) Server – Google App Engine

  • 0

I have 2 project:

1) Client – Android
2) Server – Google App Engine

At server-side I have class Entity that is called as Profile.
I included it in buildpath of the client the server project.
I’m creating a new instance of the profile in the client sending it to the server and storing it in JPA DB.
at the server side
after specific time I send from the server vector with all the clients in the server to the user.

The problems is:

when I’m adding the build path of the Profile I get:

The project was not built since its build path is incomplete. Cannot find the class file for javax.jdo.spi.PersistenceCapable. 
The type javax.jdo.spi.PersistenceCapable cannot be resolved. It is indirectly referenced from required .class files

So in the client I’m adding the jdo2-api-2.3-eb.jar.
and the problem seems disappear.
But at runtime when I’m sending the Profile Vector form the server to the client I get:

 java.io.InvalidClassException: javax.jdo.identity.LongIdentity; Incompatible class (SUID): javax.jdo.identity.LongIdentity: static final long serialVersionUID =2472141538875317527L; but expected javax.jdo.identity.LongIdentity: static final long serialVersionUID =2940818939440220368L; 

that I believe is caused by jdo2-api-2.3-eb.jar that i added.

So I’m asking how to do this correctly? I understand that Maven or Ant can solve this problem but it seems very messy. Is there any old way by just using basic Eclipse to solve this? If Not I’ll appreciate other solution that comes with good tutorial.

  • 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-02T11:34:07+00:00Added an answer on June 2, 2026 at 11:34 am

    I would use a non-binary format for transporting the data, such as JSON or XML. Trying to use binary serialization is going to lead to headaches, even once you get your build path problem sorted out and even if you use a more simple “transport” bean objects. For example, when you want to udpate either the client or the server, you have to keep them perfectly in sync (the JARs), you can’t have an old client communicate with a new server (or vice versa) without a LOT of extra work. But by using JSON or XML, the client and server can evolve somewhat independently.

    Working with either XML or JSON on Android is very straightforward, same for Java EE (server).

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

Sidebar

Related Questions

I have an Android client and a Google App Engine Servlet. And I am
I have one project (called EJB server) that contains X-Doclet annotated EJB service and
I have a project where a client app, probably on an android device, will
Hope I'm asking this correctly: I have a project Projects.Client I have my class
I have Client-Server environment and developed a project for Client-Server. I need to share
I have java two projects; one server project and one client project. In my
We have a client that has Oracle Standard , and a project that would
I have a project for a client that will be using a YouTube comment
I have a project in Flex (client) and Java red5 that I would like
I have a project that contains both the ws client and service (JAX-WS). Is

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.