This tutorial shows us the overall process for adding db4o persistence to a simple application using JPOX.
The basic steps are:
- Step 1 : Design your domain/model classes as you would do normally
- Step 2 : Define their persistence definition using Meta-Data.
- Step 3 : Compile your classes, and instrument them (using the JPOX enhancer).
- Step 4 : Generate the database tables where your classes are to be persisted.
- Step 5 : Write your code to persist your objects within the DAO layer.
- Step 6 : Run your application.
For detailed information please see:
http://www.jpox.org/docs/guides/jdo/db4o_tutorial.html