Library Version 12.1.6.0

Preface
Prev |  | Next

## Preface

This document describes how to write replicated Berkeley DB, Java Edition applications. The APIs used to implement replication in your application are described here. This book describes the concepts surrounding replication, the scenarios under which you might choose to use it, and the architectural requirements that a replication application has over a transactional application.

This book is aimed at the software engineer responsible for writing a replicated JE application.

This book assumes that you have already read and understood the concepts contained in the Berkeley DB, Java Edition Getting Started with Transaction Processing guide.

## 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()` constructor returns an `Environment` 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;

    ...

    // Open the environment. Allow it to be created if it does not already
    // exist.
    Environment myDbEnv;

In some situations, 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);

### Note

Finally, notes of special interest are represented using a note block such as this.

### For More Information

Beyond this manual, you may also find the following sources of information useful when building a replicated JE application:

- Getting Started with Berkeley DB, Java Edition

- Berkeley DB, Java Edition Javadoc

- Berkeley DB, Java Edition Getting Started with Transaction Processing

- Berkeley DB, Java Edition Collections Tutorial

To download the latest Berkeley DB Java Edition documentation along with white papers and other collateral, visit http://www.oracle.com/technetwork/indexes/documentation/index.html.

For the latest version of the Oracle Berkeley DB Java Edition downloads, visit http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/downloads/index.html.

### Contact Us

You can post your comments and questions at the Oracle Technology (OTN) forum for Oracle Berkeley DB Java Edition at: https://forums.oracle.com/forums/forum.jspa?forumID=273.

For sales or support information, email to: berkeleydb-info_us@oracle.com You can subscribe to a low-volume email announcement list for the Berkeley DB product family by sending email to: bdb-join@oss.oracle.com

Prev |  | Next
Getting Started with Berkeley DB, Java Edition High Availability Applications | Home | Chapter 1. Introduction