Getting Started with JPA and NetBeans
This is the NetBeans version of the Quick Start with JPA tutorial. It demonstrates how to create and run a simple JPA application in NetBeans. The demonstrated application uses JPA to store and retrieve simple
Point entity objects, where each
Point has two persistent fields -
For this tutorial, besides the Java JDK (5 or above) and the NetBeans IDE (any bundle that includes Java is expected to work), you only need to download and extract the ObjectDB distribution zip file. The distribution zip contains everything necessary (no external dependencies).
The tutorial was written for NetBeans 6.9.1 but it should work with other NetBeans versions as well (dialog boxes and menus might look slightly different but the code would be the same).
This tutorial consists of the following steps: