Getting Started with JPA




Other Refcardz


thumb

Core Java

Features include Java Keywords, Standard Java Packages, Character Escape Sequences, Collections and Common Algorithms, Regular Expressions, JAR Files and more.


thumb

NetBeans IDE Java Editor

Features include Getting NetBeans IDE, Development with NetBeans IDE, Keyboard Shortcuts and Code Templates, Quick Options Windows Overview, Hot Tips and more.


thumb

Getting Started with Eclipse

Features Getting Eclipse, Workbench 101, Development with Eclipse, Keyboard Shortcuts, Plug-ins, Community Web Sites, Hot Tips and more...

 


thumb

SOA Governance

About SOA Governance, People, Determining your Organizational Approach, Roles, Policies




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