Jump to ratings and reviews
Rate this book

Pro JPA 2 in Java EE 8: An In-Depth Guide to Java Persistence APIs

Rate this book
Learn to use the Java Persistence API (JPA) and other related APIs as found in the Java EE 8 platform from the perspective of one of the specification creators. A one-of-a-kind resource, this in-depth book provides both theoretical and practical coverage of JPA usage for experienced Java developers.
Authors Mike Keith, Merrick Schincariol and Massimo Nardone take a hands-on approach, based on their wealth of experience and expertise, by giving examples to illustrate each concept of the API and showing how it is used in practice. The examples use a common model from an overarching sample application, giving you a context from which to start and helping you to understand the examples within an already familiar domain.
After completing Pro JPA 2 in Java EE 8, you will have a full understanding of JPA and be able to successfully code applications using its annotations and APIs. The book also serves as an excellent reference guide.
What You Will Learn
Use the JPA in the context of enterprise applications


Work with object relational mappings (ORMs), collection mappings and more


Build complex enterprise Java applications that persist data long after the process terminates


Connect to and persist data with a variety of databases, file formats, and more


Use queries, including the Java Persistence Query Language (JPQL)


Carry out advanced ORM, queries and XML mappings


Package, deploy and test your Java persistence-enabled enterprise applications


Who This Book Is For
Experienced Java programmers and developers with at least some prior experience with J2EE or Java EE platform APIs.

780 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
43 (42%)
3 stars
26 (25%)
2 stars
5 (4%)
1 star
0 (0%)
Displaying 1 - 10 of 10 reviews
Profile Image for Elinor.
173 reviews113 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.
Profile Image for Nicola.
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.