Preface

Table of Contents

Conventions Used in this Book

Welcome to Berkeley DB Java Edition (JE). This document introduces JE, version 1.5. It is intended to provide a rapid introduction to the JE API set and related concepts. The goal of this document is to provide you with an efficient mechanism with which you can evaluate JE against your project's technical requirements. As such, this document is intended for Java developers and senior software architects who are looking for an in-process data management solution. No prior experience with Sleepycat technologies is expected or required.

Conventions Used in this Book

The following typographical conventions are used within in this manual:

Class names are represented in monospaced font, as are method names. For example: "The Environment.openDatabase() method returns a Database class object."

Variable or non-literal text is presented in italics. For example: "Go to your JE_HOME directory."

Program examples are displayed in a monospaced font on a shaded background. For example:

import com.sleepycat.je.Environment;
import com.sleepycat.je.EnvironmentConfig;
import java.io.File;
                                                                                                                                                                       
...
                                                                                                                                                                       
// Open the environment. Allow it to be created if it does not already exist.
Environment myDbEnvironment;

In some situations in this book, programming examples are updated from one chapter to the next. When this occurs, the new code is presented in monospaced bold font. For example:

import com.sleepycat.je.Environment;
import com.sleepycat.je.EnvironmentConfig;
import java.io.File;
                                                                                                                                                                       
...
                                                                                                                                                                       
// Open the environment. Allow it to be created if it does not already exist.
Environment myDbEnv;
EnvironmentConfig envConfig = new EnvironmentConfig();
envConfig.setAllowCreate(true);
myDbEnv = new Environment(new File("/export/dbEnv"), envConfig);