My refcard for Oracle Berkeley DB Java edition published by DZone

The refcard discuss the following items: 

  1. The BDB Family : An introduction to different DBD family members, including BDB Base Edition, BDB XML edition and BDB Java Edition with tables comparing their features.
  2. Key Features: Key features of BDB family members and BDB Java Edition exclusive features are explained here
  3. Introducing Berkeley DB Java Edition includin:

  • Installation: How to install the BDB JE and which JAR files are required to be in class path.
  • Description of Access APIs: Three different types of access APIs are explained and a working sample for each type of access APIs is included. Discussed APIs are Base API (Key/Value pair store and retrieval), DPL (Direct Persistence Layer for object persistence), Collections API(Using the BDB JE as an on-disk collection

        4. BDB Java Edition environment anatomy: How BDB JE store information on hard disk and what is directory and file layout of BDB JE is discussed here
5. BDB Java Edition APIs characteristics: What makes BDB JE different and how these differences can help developers in different scenarios.
6. Transaction Support: explanation and sample code for using Transaction with Base API and DPL
7. Persisting Complex Object Graph using DPL: How to define relation between objects using annotation and how to persist and retrieve related objects is explained here
8. BDB JE Backup/Recovery and Tuning: How to create backup, restore the backup and what tuning factor can be used to fine tune the BDB JE is explained here
9. Helper Utilities: Helper utilities for exporting and importing data are explained here
You can download the refcard free of charge from here.


You will find several tables and illustrations to make understanding the the whole concept of BDB JE and differences between BDB JE, BDB XML Edition and BDB Base Edition better. All included sample codes are fully explained.