Pro JPA 2, Second Edition introduces, explains, and demonstrates how to use the new Java Persistence API (JPA) 2.1 from the perspective of one of the specification creators. A one-of-a-kind resource, it provides both theoretical and extremely practical coverage of JPA usage for both beginning and advanced developers.
Authors Mike Keith and Merrick Schincariol 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 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 of JPA and be able to successfully code applications using its annotations and APIs. The book also serves as an excellent reference guide during initial and later JPA application experiences.
Hands-on examples for all aspects of the JPA specification
Expert insight about various aspects of the API and when they are useful
Portability hints to provide increased awareness of the potential for non–portable JPA code
Most Helpful Customer Reviews
I am an experienced, high-level developer who has programmed in Java but has not been extremely immersed in Java technology. I know some about Java EE but haven't actually used it. But I am an expert in relational databases.
Pro JPA 2 was exactly what I was looking for. It is perfect for my knowledge set. It is very well organized in a fashion that allows a straight read through. It goes into enough depth that I now feel comfortable using it, even in advanced situations. It is well-written, allowing me to read very quickly and not miss anything. And, it's organization makes for a good "concept reference." For example, I can't say that, after one read, I retained enough information to understand how one might create an object-relational, uni-directional, one-to-many mapping using a join table that has additional columns in it. But I know where to reread in the book to get that understanding. After that reread, I could almost get away without referring to...
On the broadest level, JPA is a standard defined through an aggregate of interfaces. Writing an interesting, nuanced book on such standard is not an easy task. Most of such books typically veer towards just documenting the library APIs, adding no more value than the online reference documentation. Some other books lightly cover the typical "use case" one encounters at work, often by walking through a so-called "Sample App" prototype model to unveil only basic constructs one would normally use of the standard.
This book is a rare type that highlights on two critically important areas that experienced engineers would love to understand.
First, it offers design guidance, both on the "why" of API (JPA) decisions itself (e.g., the impact of untyped Collection interface caused JPA to be a bit leaky), and on the application design decisions (e.g., where would you keep named queries - with entity classes or with the mapping files, and why)...
First I have to say that this book is very complete and is a good reference for JPA.
I would give it five stars if it was only about the quantity of information it contains. I removed two stars because it is written in a dense and heavy style that makes it a real pain to read.
This book is more than useful as a reference, but painful (despite being effective) as learning material.
The authorised South African distributor of this product is under no obligation to honour the manufacture's guarantees/warranties or to provide after-sales service.
Please note that this item is imported from the USA, and is designed to be used in the USA. In addition, if the unit is powered it will come with a US plug and an adapter/transformer may be required. Please click here for more information on power requirements, or check with us if you are unsure or need any assistance!
Please also note that certain items cannot be imported, these include Alcohol, Animals, Batteries, Flammable Materials, Currency, Food, Furs, Chemicals, Explosives, Medications, Plants, Seeds, Supplements, Pressurized Cans, Tactical Equipment, Vitamins, Weaponry and Weaponry Accessories. In these cases, the item and information is displayed for reference purposes only. If you are not sure if we are permitted to bring an item, please send us an e-mail with a link to the item to confirm.
Please also ensure that you are ordering the correct item for your particular application as returns to the USA are costly. Product reviews are also provided for most of our items, which can give you a good idea for possible things to look out for and the quality of the item. By clicking Add to Cart, you are confirming that the item is correct and you accept the conditions listed here.