WAS v8.5 > Deploy applications > Deploy applications to the Liberty profile

Deploy a JPA application to the Liberty profile

To enable the Liberty profile to support an application that uses the Java™ Persistence API (JPA), you add the jpa-2.0 feature to server.xml. You also need to define persistence contexts and persistence units, and configure access to the entity manager and entity manager factory.

This task assumes that we have created a Liberty profile server, on which to deploy an application that uses JPA. See Create a Liberty profile server manually.

The jpa-2.0 feature provides support for applications that use application-managed and container-managed JPA written to the JPA 2.0 specification. The support is built on top of Apache OpenJPA with extensions to support the container-managed programming model.


Parent topic: Deploy applications to the Liberty profile


Reference:

Apache OpenJPA javadoc
Liberty features


|