db4o Developer Community

db4o open source object database, native to Java and .NET
Welcome to db4o Developer Community Sign in | Join
in Search
More Search Options

Community News

Tutorial for JDO using db4o (JPOX)

This tutorial shows us the overall process for adding db4o persistence to a simple application using JPOX.

The basic steps are:

  1. Step 1 : Design your domain/model classes as you would do normally
  2. Step 2 : Define their persistence definition using Meta-Data.
  3. Step 3 : Compile your classes, and instrument them (using the JPOX enhancer).
  4. Step 4 : Generate the database tables where your classes are to be persisted.
  5. Step 5 : Write your code to persist your objects within the DAO layer.
  6. Step 6 : Run your application.

For detailed information please see:

http://www.jpox.org/docs/guides/jdo/db4o_tutorial.html

Published Sunday, March 16, 2008 3:54 PM by German Viscuso
Filed under: , ,


Comments

No Comments
Anonymous comments are disabled