I want to do a quite simple application on GAE with SPRING ROO.
I do not understand the difference between Hibernate and JPA (persistance ?) but I would like to know what is recommended for my (‘secure’) app that will works on GAE…
In other terms, do you recomend me to use BIGTABLE + HIBERNATE + JPA (is it a best practice) ?
Tkx,
GAE works only with BigTable (aka datastore, see Datastore Overview). It offers variety of APIs: from “native” low-level API to “native” high-level ones (JDO and JPA). Third-party APIs that lie somewhat in between are Objectify, Twig, etc. I recommend giving them very close look. On top of that you have specialized APIs such as Blobstore API.
In case of Hibernate and JPA they are both APIs you may use with majority of relational databases, but Hibernate is also an implementation – JPA is not. JPA needs an implementation and Hibernate is one of more common ones. When you use GAE you can completely forget about Hibernate (it’s not available). Also forget about majority of JPA features as not supported due to non-relational nature of datastore.
GAE JPA uses older version DataNucleus implementation. This quote is from DataNucleus community page:
Would be a tip to look at third-party APIs…