Pro JPA 2: Mastering the Java™ Persistence API
Buy it now
One Minute Bottom Line
|A welcomed update to the classic work about the Java Persistence API.|
Intended for Java developers working with or planning to work with the
JEE6 platform and in particular the JPA2/EJB3.1 subsystems.
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 relational databases.
At some 450 pages it’s certainly not an exhaustive treatise, but covers everything most people need to know to get started and figure out the rest for themselves. If you do need more depth, you’re most likely going to have to refer to implementation specific resources anyway, like Java Persistence with Hibernate (Manning) as there are implementation differences between the likes of Hibernate and Toplink (despite JPA being a standard), especially in the configuration of datasources.
Compared to the first release, this book will add several chapters on the new functionality introduced with JPA 2.0, as well as updating existing content.
The prerelease version of the book available to me only contained a number of the updated chapters and none of the new ones, so I can’t give an opinion on those.
Based on the updates to the existing content, you may not need to buy this new release if you already own the original. While valuable information, it is probably not enough to on its own warrant the cost of the book. Of course depending on what new content will be introduced in the final release that may change.
If you however do not own the original release, this one comes highly recommended for users of both JPA 1.0 and 2.0.
The information is presented in a clear yet concise way, with snippets and code samples where appropriate without resorting to code listings many pages long. Where necessary language features the reader might not be familiar with are explained in sidebars (though not as much as in the first release, it is assumed for example that readers will be familiar with annotations and the like which were after all introduced into Java several years ago). The writing style is pleasant, making it an easy read without skipping on technical details or accuracy.
(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)