Assembling a JPA application in a Java EE environment

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

About this task

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 your application. These are some of the most common packaging options. For a definitive list of packaging options, see the Java Persistence API specification.
Note: 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.



In this information ...


IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic Task topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Jan 30, 2014 9:17:32 AM CST
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=matt&product=was-nd-iseries&topic=tejb_assemblejpaee
File name: tejb_assemblejpaee.html