1<?xml version="1.0" encoding="UTF-8" standalone="no"?> 2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 3<html xmlns="http://www.w3.org/1999/xhtml"> 4 <head> 5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 6 <title>Preface</title> 7 <link rel="stylesheet" href="gettingStarted.css" type="text/css" /> 8 <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" /> 9 <link rel="start" href="index.html" title="Getting Started with Berkeley DB" /> 10 <link rel="up" href="index.html" title="Getting Started with Berkeley DB" /> 11 <link rel="prev" href="index.html" title="Getting Started with Berkeley DB" /> 12 <link rel="next" href="introduction.html" title="Chapter��1.��Introduction to Berkeley DB" /> 13 </head> 14 <body> 15 <div class="navheader"> 16 <table width="100%" summary="Navigation header"> 17 <tr> 18 <th colspan="3" align="center">Preface</th> 19 </tr> 20 <tr> 21 <td width="20%" align="left"><a accesskey="p" href="index.html">Prev</a>��</td> 22 <th width="60%" align="center">��</th> 23 <td width="20%" align="right">��<a accesskey="n" href="introduction.html">Next</a></td> 24 </tr> 25 </table> 26 <hr /> 27 </div> 28 <div class="preface" lang="en" xml:lang="en"> 29 <div class="titlepage"> 30 <div> 31 <div> 32 <h2 class="title"><a id="preface"></a>Preface</h2> 33 </div> 34 </div> 35 </div> 36 <div class="toc"> 37 <p> 38 <b>Table of Contents</b> 39 </p> 40 <dl> 41 <dt> 42 <span class="sect1"> 43 <a href="preface.html#conventions">Conventions Used in this Book</a> 44 </span> 45 </dt> 46 <dd> 47 <dl> 48 <dt> 49 <span class="sect2"> 50 <a href="preface.html#moreinfo">For More Information</a> 51 </span> 52 </dt> 53 </dl> 54 </dd> 55 </dl> 56 </div> 57 <p> 58 Welcome to Berkeley DB (DB). This document introduces 59 60 <span>DB, version 4.8. </span> 61 It is intended 62 to provide a rapid introduction to the DB API set and related concepts. The goal of this document is 63 to provide you with an efficient mechanism 64 with which you can evaluate DB against your project's technical requirements. As such, this document is 65 intended for <span>Java</span> 66 67 developers and senior software architects who are 68 looking for an 69 <span> 70 in-process data management solution. 71 </span> 72 73 No prior experience with Berkeley DB is expected or required. 74 </p> 75 <div class="sect1" lang="en" xml:lang="en"> 76 <div class="titlepage"> 77 <div> 78 <div> 79 <h2 class="title" style="clear: both"><a id="conventions"></a>Conventions Used in this Book</h2> 80 </div> 81 </div> 82 </div> 83 <div class="toc"> 84 <dl> 85 <dt> 86 <span class="sect2"> 87 <a href="preface.html#moreinfo">For More Information</a> 88 </span> 89 </dt> 90 </dl> 91 </div> 92 <p> 93 The following typographical conventions are used within in this manual: 94 </p> 95 <p> 96 Class names are represented in <code class="classname">monospaced font</code>, as are <code class="methodname">method 97 names</code>. For example: 98 99 100 101 <span>"The <code class="methodname">Database()</code> 102 constructor returns a <code class="classname">Database</code> class object."</span> 103 104 105 106 107 </p> 108 <p> 109 Variable or non-literal text is presented in <span class="emphasis"><em>italics</em></span>. For example: "Go to your 110 111 <span class="emphasis"><em>DB_INSTALL</em></span> 112 113 directory." 114 </p> 115 <p> 116 Program examples are displayed in a <code class="classname">monospaced font</code> on a shaded background. 117 For example: 118 </p> 119 <pre class="programlisting">import com.sleepycat.db.DatabaseConfig; 120 121... 122 123// Allow the database to be created. 124DatabaseConfig myDbConfig = new DatabaseConfig(); 125myDbConfig.setAllowCreate(true);</pre> 126 <p> 127 In some situations, programming examples are updated from one chapter to the next. When 128 this occurs, the new code is presented in <strong class="userinput"><code>monospaced bold</code></strong> font. For example: 129 </p> 130 <pre class="programlisting"><strong class="userinput"><code>import com.sleepycat.db.Database;</code></strong> 131import com.sleepycat.db.DatabaseConfig; 132 133... 134 135// Allow the database to be created. 136DatabaseConfig myDbConfig = new DatabaseConfig(); 137myDbConfig.setAllowCreate(true); 138<strong class="userinput"><code>Database myDb = new Database("mydb.db", null, myDbConfig);</code></strong> </pre> 139 <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"> 140 <h3 class="title">Note</h3> 141 <p> 142 Finally, notes of interest are represented using a note block such 143 as this. 144 </p> 145 </div> 146 <div class="sect2" lang="en" xml:lang="en"> 147 <div class="titlepage"> 148 <div> 149 <div> 150 <h3 class="title"><a id="moreinfo"></a>For More Information</h3> 151 </div> 152 </div> 153 </div> 154 <p> 155 Beyond this manual, you may also find the following sources of information useful when building a 156 DB application: 157 </p> 158 <div class="itemizedlist"> 159 <ul type="disc"> 160 <li> 161 <p> 162 163 164 165 166 <a class="ulink" href="http://www.oracle.com/technology/documentation/berkeley-db/db/gsg_txn/JAVA/index.html" target="_top"> 167 Getting Started with Transaction Processing for Java 168 </a> 169 170 171 </p> 172 </li> 173 <li> 174 <p> 175 176 177 <a class="ulink" href="http://www.oracle.com/technology/documentation/berkeley-db/db/gsg_db_rep/JAVA/index.html" target="_top"> 178 Berkeley DB Getting Started with Replicated Applications for Java 179 </a> 180 </p> 181 </li> 182 <li> 183 <p> 184 <a class="ulink" href="http://www.oracle.com/technology/documentation/berkeley-db/db/programmer_reference/index.html" target="_top"> 185 Berkeley DB Programmer's Reference Guide 186 </a> 187 </p> 188 </li> 189 <li> 190 <p> 191 <span> 192 193 194 </span> 195 196 197 198 <a class="ulink" href="http://www.oracle.com/technology/documentation/berkeley-db/db/java/index.html" target="_top"> 199 Berkeley DB Javadoc 200 </a> 201 202 203 204 </p> 205 </li> 206 <li> 207 <p> 208 209 <a class="ulink" href="http://www.oracle.com/technology/documentation/berkeley-db/db/collections/tutorial/index.html" target="_top"> 210 Berkeley DB Collections Tutorial 211 </a> 212 </p> 213 </li> 214 </ul> 215 </div> 216 </div> 217 </div> 218 </div> 219 <div class="navfooter"> 220 <hr /> 221 <table width="100%" summary="Navigation footer"> 222 <tr> 223 <td width="40%" align="left"><a accesskey="p" href="index.html">Prev</a>��</td> 224 <td width="20%" align="center">��</td> 225 <td width="40%" align="right">��<a accesskey="n" href="introduction.html">Next</a></td> 226 </tr> 227 <tr> 228 <td width="40%" align="left" valign="top">Getting Started with Berkeley DB��</td> 229 <td width="20%" align="center"> 230 <a accesskey="h" href="index.html">Home</a> 231 </td> 232 <td width="40%" align="right" valign="top">��Chapter��1.��Introduction to Berkeley DB </td> 233 </tr> 234 </table> 235 </div> 236 </body> 237</html> 238