You are here: Dependency Overview

Dependency Overview

The different functionality of db4o is implemented in multiple jars. You need to include only the jar which are required for you're application. Here's an overview:

db4o-X.XX-core-javaX.jar

This jar contains the core functionality of db4o. It doesn't have any dependencies to other jars.

db4o-X.XX-cs-javaX.jar

This jar contains the client server mode of db4o. It only depends on the db4o-core jar.

db4o-X.XX-nqopt-javax.jar

This jar contains the native query optimizations for db4o. Make sure that you include this jar when you use native queries. It depends on the db4o-core, db4o-instrumentation and the bloat jar for the runtime optimization.

When you use the compile-time optimization instead of the runtime optimization, it also requires the Ant library. However when you do compile-time optimization, you don't need this jar and its dependencies at runtime.

Note that the native queries work also without this jar in the classpath. However the queries cannot be optimized without this jar and will run a lot slower.

db4o-X.XX-optional-javaX.jar

This jar contains some additional features and functionality for db4o, like monitoring capabilities, BigMath-support and .NET support. It depends on the db4o-core jar.

db4o-X.XX-cs.optional-javaX.jar

This jar contains additional features for the client-server-mode, like SSL and monitoring support. It depends on the db4o-cs, db4o-optional and the db4o-core jar.

db4o-X.XX-taj-javaX.jar

This jar contains the utilities to enhance your classes with transparent activation. It is normally used at compile time, but its possible to use it also at runtime. It depends on the db4o-core, db4o-instrumentation and the bloat-jar. Since the enhancement is usually done with Ant, it also requires the Ant-library.

db4o-X.XX-tools-javaX.jar

This jar contains the high level functionality for enhancing your classes. It requires the db4o-core, db4o-instrumentation, db4o-taj, db4o-nqopt and the bloat-jar. Additionally it needs the Ant-library. 

db4o-X.XX-osgi.jar

This jar contains a db4o OSGI service. It depends on the db4o-core and the db4o-cs jars.

db4o-X.XX-all-javaX.jar

This jar contains all db4o functionality with all dependencies, except the Ant-library and the db4o-osgi library. If you just want to use db4o and aren't limited by space constrains use this jar only.