Java Persistence API

Java Persistence API

The Java Persistence API provides a POJO persistence model for object-relational mapping. The Java Persistence API was developed by the EJB 3.0 software expert group as part of JSR 220, but its use is not limited to EJB software components. It can also be used directly by web applications and application clients, and even outside the Java EE platform, for example, in Java SE applications. See JSR 220.


Implementation of Java Persistence API Downloads
To download a fully tested and compatible build, chose the GlassFish v1 FCS branch and download the v1 ur1 b14 binary bundle.


Using Java Persistence API Within a Visual Web Application
NetBeans IDE 6.0, the Visual Web tools, and Java Persistence API (JPA) give you greater flexibility for writing database-dependent applications.
Using the Java Persistence API on the Desktop
Learn how the Java Persistence API allows you to use POJOs in desktop applications.
The Java Persistence API: A Simpler Programming Model for Entity Persistence
See how much easier and streamlined it is to code for entity persistence with EJB 3.0 and the Java Persistence API than with the EJB 2.1 programming model.

Tech Tips



Java Persistence Example
This is a simple example that uses only two entities—a Customer and an Order, with OneToMany relationships between them.

Java Persistence API FAQ
This FAQ introduces the Java Persistence API and discusses the Java Persistence API's advantages and how it is being developed.  


Introduction to the Java Persistence API

Persistence in the Web Tier

Persistence in the EJB Tier

The Java Persistence Query Language

Related Blogs



GlassFish Community
Participate in the community development of the latest version of Sun Java System Application Server, which implements the newest features in the Java EE 5 platform.

Get daily news from the Glassfish Community.

Java Enterprise Community
Here's the place to exchange ideas with other developers working with Java EE technologies.

Java EE Forums
Use developer forums to share information, locate tried solutions, and learn best practices.  
Left Curve
Java Resources
Right Curve
Left Curve
Java SDKs and Tools
Right Curve