August 28, 2008, Thursday, 240

Digital Bazaar Core Tutorials

From DBWiki

Jump to: navigation, search

Contents

Introduction

The Digital Bazaar Core source code includes many core classes, tools and utilities for implementing fast, clustered, distributed processing-based web services.

Documentation

Full documentation is provided for the entire dbcore software stack. You can browse the latest documentation online.

Download

The source code for DB core can be downloaded from this site.

Build Process

The build process has been made to be as simple and straightforward as possible. Follow the next steps and you should be able to build the system with relative ease.

Prerequisites

  • An up-to-date Linux distribution that supports Java 5.0.
  • Apache Ant - anything later than version 1.6.5 should be installed.
  • GNU Autoconf - The latest version of GNU Autoconf should be installed.

Build Steps

  1. Download and untar the source code distribution.
    tar jxvf dbcore-2.0-source.tar.bz2
  2. Enter the dbcore directory.
    cd dbcore-2.0-source/dbcore/
  3. Run GNU Autoconf in the source directory.
    autoconf
  4. Run the generated configure script.
    ./configure
  5. Build all of the source code.
    ant clean build
The code should compile cleanly and you will be left with several jar files. You can see which jar files were generated by running the following command.
find . -name "*\.jar"

Generating documentation

All classes contain very detailed documentation. Doxygen is used to generate the documentation.

Prerequisites

  • Doxygen - The latest version of doxygen is required to generate the documentation.

Build Steps

  1. Change your working directory to the source distribution directory.
    cd dbcore-2.0-source/dbcore/
  2. Run doxygen.
    rm -rf docs/api-java; mkdir docs/api-java; doxygen docs/api.java.doxygen

More Information

If you would like to learn more about what is included in the dbcore source code distribution, you can peruse the quick-start online.