This book is intended to cover Java persistence or the act of storing data on a persistent storage medium using the Java programming language.
JPA is just the most recent of many failed Java persistence standards; this book should be able to evolve beyond JPA when it is replaced by the next persistence standard. However, I would like it to have a somewhat wider scope than just JPA and concentrate more on general persistence patterns and use cases. I don't want this to just be a recitation of the JPA Spec or a user guide for using one of the JPA products; instead, I want it to be more focused on actual use cases of users and applications attempting to use JPA (or another Java persistence solution), as well as the patterns they developed and mistakes they made.
The target audience for this book is anyone studying Java or creating Java applications that need to persist data to a database. It is primarily designed for Java developers who want to store Java objects in a relational database using the Java Persistence API (JPA) standard. Please add your experiences to this book if you are learning or developing with JPA rather than just reading it.
JPA is a brand-new object-oriented Java persistence standard that is based on the object-relational mapping. The majority of Java programs with database access are anticipated to gradually replace JDBC and proprietary object-relational mapping frameworks/libraries. Software development is more enjoyable and more productive because of JPA.