Get Inspired. Get Started.

Using the Java Persistence API in a Stand-Alone Web App

Demonstrates the use of Java Persistence APIs based on the new Java Persistence specification within a servlet.


Get NetBeans IDE


Download NetBeans

NetBeans IDE 6.9, 7.0, 7.1, 7.2, Java EE bundle

Get the Sample


arrow This sample is already bundled in the Java EE bundle of NetBeans IDE.

arrow Choose: File > New Project > Samples > Java Web > Web JPA


NetBeans Update Center

The Update Center is your source for accessing the latest samples highlighting emerging technologies, plug-ins from NetBeans and our partners, and patches to make sure your IDE is running smoothly. As fast as we make it, we'll ship it to you via the Update Center.

Start now by having the latest Top 5 samples delivered directly to your IDE.


View all samples

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo