- You'll save an extra 5% on Books purchased from Amazon.ca, now through July 29th. No code necessary, discount applied at checkout. Here's how (restrictions apply)
Pro JPA 2: Mastering the Java™ Persistence API Paperback – Sep 8 2010
|New from||Used from|
Special Offers and Product Promotions
Customers Who Bought This Item Also Bought
No Kindle device required. Download one of the Free Kindle apps to start reading Kindle books on your smartphone, tablet, and computer.
Getting the download link through email is temporarily not available. Please check back later.
To get the free app, enter your mobile phone number.
About the Author
Michael Keith is the cospecification lead of EJB 3.0 and also a member of the Java EE 5 expert group. He holds a master's of science in computing from Carleton University and has over 15 years of teaching, research, and practical experience in object persistence. He has implemented persistence systems for Fortune 100 corporations on a host of technologies, including relational and object databases, XML, directory services, and custom data formats. Since the fledgling EJB days, he has worked on EJB implementations and integrations of multiple application servers. He has written various papers and articles and spoken at numerous conferences about EJB 3.0. He is currently employed at Oracle as a persistence architect.
Top Customer Reviews
- Provides undestanding of the theory behind the desing of JPA and explains well the reasons behind the choises that were made for JPA, which makes the implementation easier to understand and remember.
- Covers lots of subjects and details
- Everything is explained textually. I would expect more use of other ways like graphics, diagrams... to make the book easier to read.
- Doesn't provide summaries that make information easier to access than re-reading whole paragraphs.
Overall it's a great book!
Most Helpful Customer Reviews on Amazon.com (beta)
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. However you look at it, the book is not an easy task to read it from a cover to cover, but I think there's no other way to get the most out of it and appreciate its value. You'll certainly miss these skipped chapters if you decide to skip some as the extensive JPA coverage grows gradually with samples all over the book. You skip one chapter and a whole raft of examples are gone. Something not to be missed if you wanna go pro.
The authors are very diligent in describing each and every detail of the JPA spec without having the broader view put aside. They carry a reader gently and with a great care through the JPA complexity to make the subject easy to follow and understand. They quickly present an overview of the previous versions of the EJB spec with its pre-JPA CMPs, the current persistence standards like JDBC and JDO and delve into the parts of the newest EJB 3.1 and Java EE 6 areas to guide you to the proper use of JPA in your projects. Every detail is taken care of with many examples and comments. New JPA 2.0 changes are very noticeable to the eye with TIP box-markers so you can very easily find these places for later study.
If only there are books like "Pro JPA 2: Mastering the Java Persistence API" published you'd never look elsewhere for additional coverage of the subject.
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.."
Look for similar items by category
- Books > Computers & Technology > Databases > Java & Databases
- Books > Computers & Technology > Programming > Java
- Books > Computers & Technology > Programming > Languages & Tools
- Books > Computers & Technology > Programming > Software Design, Testing & Engineering > Object-Oriented Design
- Books > Computers & Technology > Programming > Software Design, Testing & Engineering > Software Development
- Books > Computers & Technology > Software
- Books > Textbooks > Computer Science & Information Systems > Programming Languages
- Books > Textbooks > Computer Science & Information Systems > Software Design & Engineering