Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why does the Google App Engine documentation emphasize JDO over JPA?

Most of the docs for Google App Engine are written for JDO. Only one page of docs are devoted to using JPA. Is this because JDO is more suited to App Engine or was there some other reason for the preferential treatment given to JDO?

like image 610
J McConnell Avatar asked Feb 09 '10 15:02

J McConnell


1 Answers

JPA is oriented towards mapping java objects onto relational databases. App Engine is not a relational database. JDO is more agnostic about the backend you persist objects to, so it is a better fit.

Update: I should mention that the JPA/JDO debate can get heated sometimes, like in this previous question for example.

like image 183
Peter Recore Avatar answered Oct 11 '22 19:10

Peter Recore