June 2001
Intermediate to advanced
688 pages
19h 18m
English
The Berkeley DB subsystems can be accessed through interfaces from multiple languages. The standard library interface is ANSI C. Applications can also use Berkeley DB via C++ or Java, as well as from scripting languages. Environments can be shared among applications written by using any of these APIs. For example, you might have a local server written in C or C++, a script for an administrator written in Perl or Tcl, and a Web-based user interface written in Java—all sharing a single database environment.
The Berkeley DB library is written entirely in ANSI C. C applications use a single include file:
#include <db.h>
The C++ classes provide a thin wrapper around the C API, with the major advantages being improved encapsulation ...