Excerpt | ||
---|---|---|
| ||
OpenJPA Examples |
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.
- Open JPA Basic Sample and tutorial
- OpenTrader - a transactional web application featuring how to integrate Google Web Toolkit and OpenJPA
- OpenBooks - a end-to-end example featuring new JPA 2.0 features in JSE and JEE environments
- Using Criteria API in DayTrader
- Bean Validation Primer - A simple example which demonstrates the use Bean Validation with OpenJPA
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
- Bean Managed Persistence with JPA
- Container Managed Persistence with JPA
- Working with JSF and JPA
- Using Java Persistence API in application client
- Apache DayTrader Sample