Debian Codegraph @

docs/collections/tutorial/preface.html

raw
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="Berkeley DB Collections Tutorial" />
10 <link rel="up" href="index.html" title="Berkeley DB Collections Tutorial" />
11 <link rel="prev" href="index.html" title="Berkeley DB Collections Tutorial" />
12 <link rel="next" href="moreinfo.html" title="For More Information" />
13 </head>
14 <body>
15 <div xmlns="" class="navheader">
16 <div class="libver">
17 <p>Library Version 11.2.5.3</p>
18 </div>
19 <table width="100%" summary="Navigation header">
20 <tr>
21 <th colspan="3" align="center">Preface</th>
22 </tr>
23 <tr>
24 <td width="20%" align="left"><a accesskey="p" href="index.html">Prev</a> </td>
25 <th width="60%" align="center"> </th>
26 <td width="20%" align="right"> <a accesskey="n" href="moreinfo.html">Next</a></td>
27 </tr>
28 </table>
29 <hr />
30 </div>
31 <div class="preface" lang="en" xml:lang="en">
32 <div class="titlepage">
33 <div>
34 <div>
35 <h2 class="title"><a id="preface"></a>Preface</h2>
36 </div>
37 </div>
38 </div>
39 <div class="toc">
40 <p>
41 <b>Table of Contents</b>
42 </p>
43 <dl>
44 <dt>
45 <span class="sect1">
46 <a href="preface.html#conventions">Conventions Used in this Book</a>
47 </span>
48 </dt>
49 <dt>
50 <span class="sect1">
51 <a href="moreinfo.html">For More Information</a>
52 </span>
53 </dt>
54 <dd>
55 <dl>
56 <dt>
57 <span class="sect2">
58 <a href="moreinfo.html#contact_us">Contact Us</a>
59 </span>
60 </dt>
61 </dl>
62 </dd>
63 </dl>
64 </div>
65 <p>
66 Welcome to the Berkeley DB (DB) Collections API. This document
67 provides a tutorial that introduces the collections API.
68 The goal of this document is to provide you with an efficient mechanism
69 with which you can quickly become efficient with this API. As such, this document is
70 intended for Java developers and senior software architects who are
71 looking for transactionally-protected backing of their Java collections.
72 No prior experience with DB technologies is expected or required.
73 </p>
74 <p>
75 This document reflects Berkeley DB 11<span class="emphasis"><em>g</em></span> Release 2, which
76 provides DB library version 11.2.5.3.
77 </p>
78 <div class="sect1" lang="en" xml:lang="en">
79 <div class="titlepage">
80 <div>
81 <div>
82 <h2 class="title" style="clear: both"><a id="conventions"></a>Conventions Used in this Book</h2>
83 </div>
84 </div>
85 </div>
86 <p>
87 The following typographical conventions are used within in this manual:
88 </p>
89 <p>
90 Class names are represented in <code class="classname">monospaced font</code>, as are <code class="methodname">method
91 names</code>. For example: "The <code class="methodname">Environment.openDatabase()</code> method
92 returns a <code class="classname">Database</code> class object."
93 </p>
94 <p>
95 Variable or non-literal text is presented in <span class="emphasis"><em>italics</em></span>. For example: "Go to your
96 <span class="emphasis"><em>DB_INSTALLATION_HOME</em></span> directory."
97 </p>
98 <p>
99 Program examples are displayed in a monospaced font on a shaded background. For example:
100 </p>
101 <pre class="programlisting">import com.sleepycat.db.Environment;
102 import com.sleepycat.db.EnvironmentConfig;
103 import java.io.File;
104
105 ...
106
107 // Open the environment. Allow it to be created if it does not already
108 // exist.
109 Environment myDbEnvironment;</pre>
110 <p>
111 In situations in this book, programming examples are updated from one chapter to the next in this book. When
112 this occurs, the new code is presented in <strong class="userinput"><code>monospaced bold</code></strong> font. For example:
113 </p>
114 <pre class="programlisting">import com.sleepycat.db.Environment;
115 import com.sleepycat.db.EnvironmentConfig;
116 import java.io.File;
117
118 ...
119
120 // Open the environment. Allow it to be created if it does not already
121 // exist.
122 <strong class="userinput"><code>Environment myDbEnv;
123 EnvironmentConfig envConfig = new EnvironmentConfig();
124 envConfig.setAllowCreate(true);
125 myDbEnv = new Environment(new File("/export/dbEnv"), envConfig);</code></strong> </pre>
126 </div>
127 </div>
128 <div class="navfooter">
129 <hr />
130 <table width="100%" summary="Navigation footer">
131 <tr>
132 <td width="40%" align="left"><a accesskey="p" href="index.html">Prev</a> </td>
133 <td width="20%" align="center"> </td>
134 <td width="40%" align="right"> <a accesskey="n" href="moreinfo.html">Next</a></td>
135 </tr>
136 <tr>
137 <td width="40%" align="left" valign="top">Berkeley DB Collections Tutorial </td>
138 <td width="20%" align="center">
139 <a accesskey="h" href="index.html">Home</a>
140 </td>
141 <td width="40%" align="right" valign="top"> For More Information</td>
142 </tr>
143 </table>
144 </div>
145 </body>
146 </html>