Getting Started with JPA




Other Refcardz


thumb

NetBeans IDE 6.7 Update

Contents Include: About NetBeans IDE, Java Editor Overview, NetBeans IDE Java Quick Start Tutorial, Keyboard Shortcuts and Code Templates, Hot Tips and more...


thumb

Scalability & High Availability

Contents include: An Overview of Scalability and High Availability, Implementing Scalable Systems, Caching Strategies, Clustering, Redundancy and Fault Tolerance, Hot Tips, and More...


thumb

Scrum

Contents Include: About Scrum, Scrum Roles, Scrum Meetings, Scrum Artifacts, Scaling, Related Practices and More...


thumb

Agile Adoption: Decreasing Time to Market

About Agile Adoption, What Agile Practices Improve Time to Market, How to Adopt Agile Strategies Successfully, and Next Steps...




Click Here To
Download PDF


Overview

Even though proprietary mapping products like Hibernate and TopLink still exist, they are now focused on providing their functionality through the JPA API, allowing all applications to be portable across JPA implementations. This refcard will give users enough to understand the basics of JPA and get started writing JPA applications. It covers entities, identifiers, O-R mappings, using an entity manager, creating and executing queries, and configuration of the persistence.xml file.

Features include Mapping an Object, Obtaining and Using an Entity Manager, Transactions, Querying, Hot Tips and more.


About the Author

Mike Keith was a co-lead of the EJB 3.0 and JPA 1.0 specifications and coauthored the premier JPA reference book called Pro EJB 3: Java Persistence API. He has 18 years of teaching, research and development experience in object-oriented and distributed systems, specializing in object persistence. He currently works as an architect for Java and persistence strategies at Oracle and represents Oracle on the JPA 2.0 and Java EE 6 expert groups. He has authored a host of articles and papers and is a popular speaker at numerous conferences and events around the world.

Publications

  • Pro EJB 3: Java Persistence API, Mike Keith and Merrick Schincariol, Apress, May 2006
  • ACM Queue, May/June 2008, Exposing the ORM Cache
  • JavaLobby, June 2008, Looking Forward to JPA 2.0–Part 2
  • JavaLobby, April 2008, Looking Forward to JPA 2.0–Part 1
Current Projects
  • Committer on Eclipse Persistence Project
  • Member of JSR 317–JPA 2.0
  • Member of JSR 316–Java EE 6
  • Member of JSR 318–EJB 3.1
  • Member of Java EE subcommittee of OSGi Alliance EEG