Getting Started with JPA




Other Refcardz


thumb

Getting Started with Windows Presentation Foundation

Contents Include: XAML, Markup Extensions, Controls, Panels, Data Binding, Events and more...


thumb

GWT Style, Configuration and JSNI Reference

Features Official GWT Web Sites, Styling Widgets with CSS, GWT Module Configuration, JavaScript Native Interface, Hot Tips and more...


thumb

Apache Tapestry 5.0

Project Layout, Configuring the Web Application, About Pages and Components, Tapestry Markup Templates, Built-in Components, Tapestry Annotations, more...


thumb

Core CSS: Part III

Features include The CSS Visual Model, The Box Model, The Power and Problem with Floats, CSS Positioning, Core CSS Wrap-Up, Hot Tips and More.




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