Network Deployment (Distributed operating systems), v8.0 > Develop and deploying applications > Develop EJB applications > Assembling applications that use the Java Persistence API


Assembling a JPA application in a Java EE environment

You have developed and configured the applications to work with the Java Persistence API (JPA). Now package the JPA applications for the environment.


Procedure

Package the application. There are several packaging options for an application that uses JPA in a Java EE environment. Choose the packaging option that best suits the JPA usage and configuration within the modules of the application. These are some of the most common packaging options. For a definitive list of packaging options, see the Java Persistence API specification.

IBM Optim PureQuery Runtime, add the persistence_unit_name.pdqxml file to the JPA application JAR file. The files are located in same META-INF directory where the persistence.xml file is located. These persistence files were created during the development task. See the topic, Developing JPA applications for a Java EE environment for more information.


What to do next

For more information about the commands, classes or other OpenJPA information, refer to the Apache OpenJPA User Guide.
Task overview: Storing and retrieving persistent data with the JPA API
Apache OpenJPA User Guide: JPA
Apache OpenJPA User Guide: JPA Criteria
Apache OpenJPA User Guide

+

Search Tips   |   Advanced Search