For information on using the IDE to develop applications with Java Persistence, see the following chapter in the User's Guide:
Developing Applications with NetBeans IDE,