Creating a Java Desktop application that communicates with a database using NetBeans is a breeze.
From the Project wizard, it is possible to create a basic GUI with the Create, Retrieve, Update, Delete (or CRUD) functionality that accesses a database.
The creation of such an application is simplified by the fact that NetBeans supports, out of the box, both Java Persistence API (JPA) and Beans Binding, besides supporting the Swing Application Framework as well.
The Java SDK 6 and GlassFish Server come bundled with a lightweight database, Java DB, which is a rebranded version of Apache Derby. Our recipes will be using Java DB since it's already bundled with JDK and is registered by NetBeans Services (so long ...