NetBeans 6.9 provides new support for Maven, including capabilities for building Maven Web applications, Maven enterprise applications, Maven EJB modules and so on. In his JavaBoutique tutorial Building a NetBeans CRUD Application with Maven, Constantin Marian Alin provides step-by-step instructions for using the Maven build framework to create a simple NetBeans Platform application that can create, read, update and delete from/to a database.
Using a demo application called Tennis World Cup, Constantin explains everything involved in:
- Configuring Maven for NetBeans
- Creating the NetBeans platform application project and NetBeans module
- Adding the module as a dependency
- Branding the project
- Connecting the application to a database
- Running the application
When completed, your application will be able to read and write tennis player details from a database (PostgreSQL, in this example).