OpenJPA Logo   ASF Logo

OpenJPA Examples

This page provides samples for OpenJPA. For further information, the documentation provides comprehensive documentation on all aspects of configuring and using OpenJPA. A template is provided to describe how to build, deploy and run the samples. The existing samples will be reformatted to fit the template. If you are creating new samples, please adhere to the template.

For more information on using OpenJPA within a Java EE application server, please see the Integration page for more details.

OpenJPA ANT Examples

These are some short (5 minutes) quick start guides for OpenJPA using the examples provided with the distribution. Most OpenJPA releases require Java SE 5, but see Build and Runtime Dependencies for more details.

Other Examples

Apache TomEE Examples

All the above examples are standalone projects, contain unit tests and working maven pom.xml files. Examples are run with every build and release of TomEE.

Apache Geronimo v2.1 Samples

Copyright © 2006,2013 The Apache Software Foundation. Licensed under Apache License 2.0.
Apache, the Apache feather logo and OpenJPA are trademarks of The Apache Software Foundation.
Other names may be trademarks of their respective owners.