###

Berkeley DB Reference Guide:
  Java API Tutorial - Basic

### Basic - The shipment program

The Basic example is a minimal implementation of the shipment program. It writes and reads the part, supplier and shipment stores. The example program illustrates:

- Defining serialized key and value classes
- Opening and closing the database environment
- Opening and closing the class catalog
- Opening and closing database stores
- Creating bindings and collections
- Implementing the main program
- Using transactions
- Adding database items
- Retrieving database items
- Handling exceptions

The complete source of the final version of the example program is included in the Berkeley DB distribution.

Copyright (c) 1996-2003 Sleepycat Software, Inc. - All rights reserved.