Which permanent EJB 3 provider should I use?

I use EJB 3 in a fairly large J2EE project, by default Netbeans sets up a persistent provider for the beans object in TopLink. You can change the provider to one of the following, or even add a new persistence library:

  • Hibernate
  • Kodo
  • Openjpa

Which resilience provider do you prefer to use? What are the benefits of using a different provider?

While TopLink seems good, I can't find a lot of good documentation on how to control caching, etc. Any help would be greatly appreciated.

+3
source share
6 answers

There are only two JPA providers that I would use:

JPA, EclipseLink. Toplink Essentials JPA 1.0, EclipseLink TopLink Essentials JPA 2.0 ( Glassfish V3, , JavaOne 2009 ). TopLink Essentials TopLink Oracle, EclipseLink , TopLink.

- , , Hibernate. , , . , , Hibernate, , " ". , Hibernate EclipseLink, .

, , JPA. Hibernate , , , Google, , .

, , .

+7

Hibernate :

  • Java; .
  • J2EE , , Spring .., Hibernate .
+2

Hibernate . , -JPA-, , , - .

, TopLink Essentials, , -, . , , , , Hibernate.

+2

Hibernate. . , , Hibernate JPA. , , , , .

+1

, Kodo JPA. SQL , Kodo, . -, . , kodo, . Oracle, , kodo TopLink. Oracle kodo .

0

DataNucleus http://www.datanucleus.org JPA, JPA1 JPA2.

0

Source: https://habr.com/ru/post/1697173/


All Articles