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