Skip to main content

2009 | OriginalPaper | Buchkapitel

JPA Integration

verfasst von : Derek Chen-Becker, Marius Danciu, Tyler Weir

Erschienen in: The Definitive Guide to Lift

Verlag: Apress

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

The Java Persistence API (JPA) is the evolution of a number of frameworks in Java to provide a simple database access layer for plain Java objects (and, transitively, Scala objects). JPA was developed as part of the Enterprise Java Beans 3 (EJB3) specification, with the goal of simplifying the persistence model. You can read more about the standard at http://java.sun.com/javaee/overview/faq/persistence.jsp.Prior versions of Enterprise Java had used the Container Managed Persistence (CMP) framework, which required many boilerplate artifacts in the form of interfaces and XML descriptors. As part of the overarching theme of EJB3 to simplify and use convention over configuration, JPA uses sensible defaults and annotations heavily, while allowing for targeted overrides of behavior via XML descriptors. JPA also does away with many of the interfaces used in CMP and provides a single javax. persistence. EntityManager (EM) class for all persistence operations. An additional benefit is that JPA was designed so that it could be used both inside and outside of the enterprise container, and several projects (Hibernate, TopLink, JPOX, etc.) provide stand-alone implementations of EntityManager.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Metadaten
Titel
JPA Integration
verfasst von
Derek Chen-Becker
Marius Danciu
Tyler Weir
Copyright-Jahr
2009
Verlag
Apress
DOI
https://doi.org/10.1007/978-1-4302-2422-8_10

Premium Partner