You are here: Basics Operations & Concepts > Getting Started

Getting Started

You can start using db4o within a few minutes following these few steps.

1. Download db4o

First download db4o on the official download site. There are different releases available on the web site. The latest production version, beta versions, continues build versions and older stable releases. Use the production version at the top to get started.

For each release there's a ZIP-file which contains db4o, the documentation and the source code.

Download the ZIP-file to your computer and unpack it.

2. Content Of The db4o Distribution

The db4o distribution has following content.

db4o-folder/lib: Contains the db4o database engine and the supporting libraries. There are different versions of the libraries for the Java-versions in this folder.

db4o-folder/doc: Contains all the db4o documentation. There's the complete API-documentation (db4o-folder/doc/api/index.html), the tutorial (db4o-folder/doc/tutorial/index.html) and the reference documentation (db4o-folder/doc/api/index.html)

db4o-folder/ome: Contains the installer for the Object Manager. See "Object Manager Enterprise"

db4o-folder/src: Contains the full source code of db4o.

3. Adding db4o To Your Project

After you've downloaded and unpacked the db4o distribution, you can start using it. The core of db4o is the single db4o-X.XX-core-javaX-jar and has no additional dependencies. The other jars provide additional functionality See "Dependency Overview". You can also use the db4o-X.XX-all-javaX.jar which includes every db4o feature and dependency in one jar.

To use db4o in your project you only need to add the required jars to your project and then you're ready to go.

Here is how to do this with Eclipse:

4. Ready To Go

That's it, now you're ready to go and can use db4o in your project.