Chapter 8. Understanding Java persistence

This chapter covers

  • Managing entities
  • Using transactions
  • Choosing between JPA and Hibernate

Java persistence is the mechanism by which object-based entities are translated between the Java runtime environment and a relational database. It’s undoubtedly the most popular feature of the Java EE platform, perhaps even the Java language. This popularity can be attributed to the fact that persisting data is central to nearly all enterprise applications. For that reason, persistence is a core part of Seam. In fact, you can’t get very deep into a Seam application without encountering it. As you’re probably aware, you’ve been using Java persistence in the sample application since chapter 2—though solely the ...

Get Seam in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.