Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your email address or mobile phone number.
Pro JPA 2: Mastering the Java(TM) Persistence API (Expert's Voice in Java Technology) 2010th Edition
Use the Amazon App to scan ISBNs and compare prices.
Frequently Bought Together
Customers Who Bought This Item Also Bought
Top Customer Reviews
I first thought I was well prepared for the book and I knew quite a lot about JPA 1.0 in theory and practice, but it took me just a few chapters to realize that I had just scratched the surface of the JPA specification and I'd still dare to call it an extensive JPA knowledge. I couldn't have been wrong more. I had no doubts that the JPA 2.0 was quite new to me with its Criteria API and dynamic, typesafe (or strongly typed) queries or embedded objects and their collection mappings or validation and constraints as well as the outside the server deployment, but still thought I was not going to be surprised so often even in the areas I felt strong.
With all these enhancements it's hard to expect a single book can give enough explanation to cover the intricacies of the JPA 2.0 specification, but I have no doubt the authors made every effort to write one. There are almost 500 pages divided among 15 chapters ranging from the unsurprisingly, introductory chapter 1. "Introduction" to the chapter 15. "Migration" with the chapter 9. "Criteria API" in between. If you think you could skip some parts of the book to learn more about JPA faster, you couldn't be more mistaken.Read more ›
What I did not like is a fairly minor issue. I wish the author had done a better job of highlighting what was new in JPA 2.0. There are applications and developers using JPA 1.0 and it would be nice to highlight some of the differences. If you're working in a JPA 1.0 environment, just be aware that some things covered in the book will not apply. However, since JPA 2.0 is largely evolutionary - 90% of what's in this book applies. In fact, I was able to move through much of the book fairly quickly because JPA 1.0 and 2.0 are very similar.
Unfortunately I found that although this book does a pretty good job of explaining the theory, it has a couple of flaws:
- It is heavily flavored toward EJBs. If you are not using EJBs you will find yourself trying to translate the examples to what you would really do.
- Instead of full examples, or even building an example as a chapter progresses, the book relies heavily on snippets. It is up to you to take these snippets and make them work in an integrated whole. Because of my past experience this was not a big problem for me, but it could be daunting for somebody trying to learn JPA from scratch.
I recommend not using this book alone. Supplement it with a book more focused on the JPA stack that you will be using. If you plan on using the Spring/JPA/Hibernate stack I recommend that you first read (and code) the JDBC, Transactions and JPA chapters from the Spring Recipes book. If you do that, this book should successfully increase the depth of your knowledge without hitting too many stumbling blocks.
Anyhow... I do like the examples , I do like the structure, I do like the style.. what I really, really did not like was that when I bough the book a few months ago there was *NO CODE WHASOEVER* to download on the book website. And even now there is code only for the first 9 chapters, for a book that has 15 chapters! And of course the last chapters are the more advanced and interesting...
This is a deadly, capital sin for any technical book, that makes me immediately throw it in the trash where it belongs.. This book is an exception due to the outstanding overall quality...but I do want to shout at the book authors: "hey dudes, when you're back from vacations could you please be so kind to give us example code for the rest of the book??? You will make a lot of readers happy and will make sure your royalties have been rightly earned.."
Most Recent Customer Reviews
I am still reading the book but reading this book has been so difficult for my eyes that I am writing an early review about the book itself (than its content). Read morePublished on August 2, 2013 by S. Sarmady
This book covers the topic very well. It is very thorough and informative. You will be a JPA expert after absorbing the contents of this book.Published on May 10, 2013 by Raffi Minassian
JPA features in my day job quite extensively, but I only knew what I needed to know to get my job done. Read morePublished on April 6, 2013 by Matthew Casperson
The original Pro JPA book is an excellent introduction and reference to the Java Persistence API, now the de-facto system for providing coupling between Java applications and... Read morePublished on February 22, 2013 by J. T. Wenting
Bought this on the basis of various reviews on the book, but just have to read thru lots of pages to grasp the point.Published on January 15, 2013 by chitra
I thought that my JavaEE book gave me all the JPA knowledge I needed. I was wrong! A must have book for everyone using JPA.Published on January 8, 2013 by Konstantinos Tsiknas
The information in the book is very accurate but there is a tendency to make it to granular. If you would want to know about some particular feature (for example @OneToMany... Read morePublished on December 8, 2012 by Florin Vasile
All you need to understand JPA , how it relates to JTA and a decent Java EE review to boot.Published on November 28, 2012 by rick tully