What is JPA?
The Java Persistence API (JPA) is part of the new Java EE 5 EJB 3.0 specification and defines, a vendor-neutral standard for O/R mapping. JPA defines a way to map plain old Java objects (POJOs) to relational databases. Even though the JPA specification was developed under the umbrella EJB 3.0 specification (co-led by Oracle), that doesn’t mean it’s just for Java EE. JPA is designed to work in Java SE as well as EE, and will likely be split off into its own specification in the future.