Jump to ratings and reviews
Rate this book

PRO JPA 2 IN JAVA EE 8: AN IN-DEPTH GUIDE TO JAVA PERSISTENCE APIS [Paperback] Keith

Rate this book
Pro JPA 2 introduces, explains, and demonstrates how to use the new Java Persistence API (JPA), now available outside of the EJB 3.x specification and reference implementation. JPA provides Java developers with both the knowledge and insight needed to write Java applications that access relational databases through JPA. Authors Mike Keith and Merrick Schincariol take a hands–on approach to teaching by giving examples to illustrate each new concept of the API and showing how it is used in practice. All of 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 and be able to successfully code applications using JPA. The book also serves as a reference guide during initial and later JPA application experiences. Hands-on examples for all the aspects of the JPA specification, based on the reference implementation of this specification A special section on migration to JPA, targeted to readers with no EJB experience as well as those who do have experience Expert insight about various aspects of the API and when they are useful, from the architects of JPA 2 and EJB Portability hints to provide increased awareness of the potential for non–portable JPA code
What you’ll learn Get started with enterprise applications using JPA 2, regardless of your EJB experience. Get up to speed with Object–Relational Mapping and Entity Manager. Learn and use queries and the query language (EJB QL), including Criteria–based Query Language (CQL) and more. Employ advanced Object–Relational Mapping techniques. Use XML mapping files and learn other advanced techniques. Package and deploy your Java persistence applications. Test your Java persistence applications. Migrate your Java persistence applications.
Who is this book for? The book generally targets enterprise and persistence developers who fall in one of three Those who are new to persistence; we will present some background information and introduce these readers to the basic persistence concepts to bring them up to speed. Those who know and/or use existing ORM persistence products such as Hibernate or TopLink. Those who have already used JPA and want to learn about the new features that JPA 2 introduces, or have a good reference book to turn to when they develop JPA applications. In general, we assume that the reader is knowledgeable with Java, SQL, and JDBC, and has a little knowledge of J2EE
About the Apress Pro Series The Apress Pro series books are practical, professional tutorials to keep you on and moving up the professional ladder. You have gotten the job, now you need to hone your skills in these tough competitive times. The Apress Pro series expands your skills and expertise in exactly the areas you need. Master the content of a Pro book, and you will always be able to get the job done in a professional development project. Written by experts in their field, Pro series books from Apress give you the hard–won solutions to problems you will face in your professional programming career.

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