Jump to ratings and reviews
Rate this book

Pro JPA 2: Mastering the Java™ Persistence API

Rate this book
Pro JPA 2 introduces, explains, and demonstrates how to use the Java Persistence API (JPA). JPA provides Java developers with both the knowledge and insight needed to write Java applications that access relational databases through JPA. Authors Mike Keith and Merrick Schincariol take a hands–on approach to teaching by giving examples to illustrate each concept of the API and showing how it is used in practice. All of the examples use a common model from an overriding sample application, giving readers a context from which to start and helping them to understand the examples within an already familiar domain. After completing the book, you will have a full understanding and be able to successfully code applications using JPA. The book also serves as a reference guide during initial and later JPA application experiences.

526 pages, Paperback

First published December 4, 2009

32 people are currently reading
81 people want to read

About the author

Mike Keith

7 books2 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
27 (26%)
4 stars
45 (43%)
3 stars
26 (25%)
2 stars
5 (4%)
1 star
0 (0%)
Displaying 1 - 10 of 10 reviews
Profile Image for Elinor.
173 reviews115 followers
December 31, 2021
This is an excellent introduction to Java Peristence API. It covers a broad number of topics from the basics of JPA (entity managers and factories, entities, relationships, JPQL, ...) all the way through to more advanced topics like caching, entity graphs, and entity lifecycle events - along with some good tips and recommendations.

I found this to be a comprehensive guide and although I do get the heat the book is getting from being primarily EJB-oriented, it will remain in my library of excellent reference books - far nicer to read than the JPA specification itself.
Profile Image for Eric Westfall.
3 reviews2 followers
April 7, 2013
This book is really an awesome resource if you really want to learn about JPA and many of the advanced topics around it. My biggest complaint is that it focuses way too much on EJB early on (and throughout in various places). I think part of that is related to the lineage of JPA as part of J2EE but I think the book could have still been effective without as much of that content. And it wouldn't have hurt them to talk a little bit about using JPA with something like the Spring Framework (I don't recall there being much if anything in the book on that).

Other than that, I would still recommend this to someone who wants to learn JPA 2 and have a desk-side reference. It's more enjoyable than reading the JPA specification :)
1 review
December 23, 2019
I was very satisfied with the book. I am a novice to JPA and need it for my job. The third chapter tries to give an overview over how JPA fits into Java EE applications, which is interesting and accessible enough to read it if you have no idea about Java EE, but if you are developing with Spring, as I am, you might as well skip it I guess. Doesn't harm your understanding of the rest of the book. There are enough and thought-out examples to illustrate the concepts the book explores.
8 reviews
April 16, 2018
Excellent book, I didn't need any other JPA resources after reading it.
Profile Image for Vít Kotačka.
398 reviews87 followers
January 17, 2014
Excellent book on JPA 2 topic. Very well written, it goes in the depths and it's quite complex. Usable as reference as well. The only minus, there is nothing about integration or usage with the Spring Framework.
87 reviews5 followers
April 4, 2016
Most comprehensive book about JPA 2, a lot of details and approaches are covered, hope I've consumed 50%, definitely worth to be re-read later.
9 reviews
December 26, 2015
A must-read book, written with full of useful examples. I wish I had read this book before.
Displaying 1 - 10 of 10 reviews

Can't find what you're looking for?

Get help and learn more about the design.