Library Version 18.1.25

Preface
Prev |  | Next

## Preface

This document describes how to write client-server applications for Berkeley DB 18 Release 18.1 (library version 18.1.25). This release includes a Java-based server program that provides accesses to Berkeley DB APIs to remote client applications. Client applications communicate with the server through driver APIs.

The steps to start the server and the driver APIs used to implement client applications are described here. This book describes the concepts surrounding distributed Berkeley DB applications, the scenarios under which you might choose to use it, and the requirements of using the server program and the driver APIs.

This book is aimed at the software engineer responsible for writing a distributed DB application.

This book assumes that you have already read and understood the concepts contained in the Berkeley DB 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 DB_INSTALL directory."

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

    import com.sleepycat.client.SDatabaseConfig;

    ...

    // Allow the database to be created.
    SDatabaseConfig myDbConfig = new SDatabaseConfig();
    myDbConfig.setAllowCreate(true);

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.client.SDatabase;
    import com.sleepycat.client.SDatabaseConfig;

    ...

    // Allow the database to be created.
    SDatabaseConfig myDbConfig = new SDatabaseConfig();
    myDbConfig.setAllowCreate(true);
    SDatabase myDb = env.openDatabase(null, "mydb.db", null, myDbConfig);

### Note

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

Prev |  | Next
Getting Started with Distributed Berkeley DB Applications | Home | For More Information