Search code examples
androidjpapersistenceeclipselink

JPA, EclipseLink and Android


I built a JAVA application for personal use, that makes the persistence with JPA and EclipseLink. I'm making a equal for android. I would like to synchronize data via Dropbox. Is there JPA and EclipseLink for android? I have not found anything about this. What alternarivas there?


Solution

  • You can run almost anything which is pura java on android (with some minor exclusions ), but this does not mean that you should. Hibernate ( which is implementing JPA ) can be run on android, but your application willbe too heavy. Your handset is not heavy server system.

    I would propose to store data locally serialized to JSON and exchange JSON data files via dropbox ( but of course I do not know anything about your use case to make better proposals )