ObjectDB ObjectDB

Getting Started with JPA - Maven Project

The Getting Started with JPA tutorial provides step by step instructions on how to build a simple JPA database driven application in Eclipse or NetBeans.

Building a new application step by step is an effective way to learn - but if you prefer, you may download and run the result application as a Maven project:

    Getting Started with JPA - Maven Project (3KB)

If Maven is installed - extract the zip and run the application from the command line by:

> mvn test

The current directory should be points-console (containing the pom.xml file).

No need to download and install ObjectDB - Maven will download the ObjectDB jar automatically.

You may also open and run the Maven project in your IDE:

NetBeans IDE and IntelliJ IDEA have built in Maven support.