Pro JPA 2 and over one million other books are available for Amazon Kindle . Learn more


or
Sign in to turn on 1-Click ordering.
or
Amazon Prime free trial required. Sign up when you check out. Learn more
More Buying Choices
Have one to sell? Sell yours here
or
Get a £14.10 Amazon.co.uk Gift Card
Pro JPA 2: Mastering the Java Persistence API (Expert's Voice in Java Technology)
 
 
Start reading Pro JPA 2 on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Pro JPA 2: Mastering the Java Persistence API (Expert's Voice in Java Technology) [Paperback]

Mike Keith , Merrick Schincariol

RRP: £39.49
Price: £30.80 & this item Delivered FREE in the UK with Super Saver Delivery. See details and conditions
You Save: £8.69 (22%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In stock.
Dispatched from and sold by Amazon.co.uk. Gift-wrap available.
Only 1 left in stock--order soon (more on the way).
Want guaranteed delivery by Thursday, May 31? Choose Express delivery at checkout. See Details

Formats

Amazon Price New from Used from
Kindle Edition £20.84  
Paperback £30.80  
Trade In this Item for up to £14.10
Get an extra £5 when you trade in books worth £10 or more until June 30, 2012. Trade in Pro JPA 2: Mastering the Java Persistence API (Expert's Voice in Java Technology) for an Amazon.co.uk gift card of up to £14.10, which you can then spend on millions of items across the site. Trade-in values may vary (terms apply). Find more products eligible for trade-in.

Frequently Bought Together

Pro JPA 2: Mastering the Java Persistence API (Expert's Voice in Java Technology) + Enterprise JavaBeans 3.1 + Beginning Java EE 6 with GlassFish 3 2nd Edition (Expert's Voice in Java Technology)
Price For All Three: £89.22

Show availability and delivery details

Buy the selected items together

Customers Who Bought This Item Also Bought


Product details


Product Description

Product Description

Pro JPA 2 introduces, explains, and demonstrates how to use the Java Persistence API (JPA). 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 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
  • 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

What you’ll learn

  • Get started with enterprise applications using JPA 2
  • Get up to speed with object–relational mapping and Entity Manager
  • Learn and use queries and the query language (JP QL)
  • 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 this book is for

The book generally targets enterprise and persistence developers who fall in one of three categories:

  • 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 newer features introduced by JPA 2, or have a good reference book to consult 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.

Table of Contents

  1. Introduction
  2. Getting Started
  3. Enterprise Applications
  4. Object-Relational Mapping
  5. Collection Mapping
  6. Entity Manager
  7. Using Queries
  8. Query Language
  9. Criteria API
  10. Advanced Object-Relational Mapping
  11. Advanced Topics
  12. XML Mapping Files
  13. Packaging and Deployment
  14. Testing
  15. Migration

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.

Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index
Search inside this book:

Suggested Tags from Similar Products

 (What's this?)
Be the first one to add a relevant tag (keyword that's strongly related to this product)
 
(3)
(3)
(1)
(1)
(2)
(1)

Your tags: Add your first tag
 

What Other Items Do Customers Buy After Viewing This Item?


Customer Reviews

There are no customer reviews yet on Amazon.co.uk.
5 star
4 star
3 star
2 star
1 star
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com:  13 reviews
16 of 16 people found the following review helpful
By no stretch of the imagination could you believe the JPA 2.0 specification goes into detail better 28 Feb 2010
By Jacek Laskowski - Published on Amazon.com
Format:Paperback
With mixed feelings I'm writing the book review of "Pro JPA 2: Mastering the Java Persistence API" by Mike Keith and Merrick Schincariol (Apress, December 2009). On the one hand I'd highly recommend the book to anyone who is interested in the JPA 2.0 specification and doesn't anticipate reading more than a single book about JPA (to have a complete understanding of the subject), but on the other hand it is a book that takes ages to read and even more to digest. It was beginning to try my patience yet I couldn't stop reading it. The more I delved in the book the more 'Aha'-moments struck me.

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.
18 of 20 people found the following review helpful
Too EJB-focused, good theory, incomplete examples 25 Feb 2010
By Bruno Genovese - Published on Amazon.com
Format:Paperback
After learning JPA in bits and snippets and using it on the popular Spring/JPA/Hibernate environment, I was looking for an in-depth JPA book where I could read the theory of JPA and then code and execute examples to cement the concepts in my brain.

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.
8 of 8 people found the following review helpful
Solid Book on JPA 27 Dec 2009
By Paul Hoehne - Published on Amazon.com
Format:Paperback|Amazon Verified Purchase
What I liked about the book. It covers the topic in a fair degree of detail and is well written. If you're trying to learn JPA I would recommend a book that covers the topic in depth rather than a few chapter in a book on J2EE in general or EJB's. If this is your first exposure to JPA, you should be able to read the first few chapters and come back to the advanced material as necessary. The examples, I feel, are clear and consistent. All in all, a good book if you're learning JPA. If a friend or co-worker wanted to learn JPA, I would definitely recommend this book.

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.

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   


Listmania!


Look for similar items by category


Look for similar items by subject


Feedback


Amazon.co.uk Privacy Statement Amazon.co.uk Delivery Information Amazon.co.uk Returns & Exchanges