• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/docs/gsg_txn/JAVA/
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 Transaction Processing" />
10    <link rel="up" href="index.html" title="Getting Started with Berkeley DB Transaction Processing" />
11    <link rel="previous" href="index.html" title="Getting Started with Berkeley DB Transaction Processing" />
12    <link rel="next" href="introduction.html" title="Chapter��1.��Introduction" />
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        This document describes how to use transactions with your Berkeley DB
60        applications. It is intended to describe how to
61        transaction protect your application's data. The APIs used to perform this task
62        are described here, as are the environment infrastructure and administrative tasks
63        required by a transactional application. This book also
64        describes multi-threaded <span>and
65        multi-process</span> DB applications and the requirements they
66        have for deadlock detection.
67    </p>
68      <p>
69        This book is aimed at the software engineer responsible for writing a
70        transactional DB application.
71    </p>
72      <p>
73        This book assumes that you have already read and understood the
74        concepts contained in the
75        <span><i class="citetitle">Getting Started with Berkeley DB</i>
76        guide.</span>
77        
78        
79     </p>
80      <div class="sect1" lang="en" xml:lang="en">
81        <div class="titlepage">
82          <div>
83            <div>
84              <h2 class="title" style="clear: both"><a id="conventions"></a>Conventions Used in this Book</h2>
85            </div>
86          </div>
87          <div></div>
88        </div>
89        <p>
90        The following typographical conventions are used within in this manual:
91    </p>
92        <p>
93        Class names are represented in <tt class="classname">monospaced font</tt>, as are <tt class="methodname">method
94        names</tt>. For example: 
95        
96        
97
98        <span>"The <tt class="methodname">Environment()</tt>
99        constructor returns an <tt class="classname">Environment</tt> class object."</span>
100
101        
102    </p>
103        <p>
104        Variable or non-literal text is presented in <span class="emphasis"><em>italics</em></span>. For example: "Go to your
105        <span class="emphasis"><em>DB_INSTALL</em></span> directory."
106    </p>
107        <p>
108        Program examples are displayed in a <tt class="classname">monospaced font</tt> on a shaded background.
109        For example:
110    </p>
111        <pre class="programlisting">import com.sleepycat.db.DatabaseConfig;
112
113...
114
115// Allow the database to be created.
116DatabaseConfig myDbConfig = new DatabaseConfig();
117myDbConfig.setAllowCreate(true);</pre>
118        <p>
119        In some situations, programming examples are updated from one chapter to the next. When
120        this occurs, the new code is presented in <b class="userinput"><tt>monospaced bold</tt></b> font. For example:
121    </p>
122        <pre class="programlisting"><b class="userinput"><tt>import com.sleepycat.db.Database;</tt></b>
123import com.sleepycat.db.DatabaseConfig;
124
125...
126
127// Allow the database to be created.
128DatabaseConfig myDbConfig = new DatabaseConfig();
129myDbConfig.setAllowCreate(true);
130<b class="userinput"><tt>Database myDb = new Database("mydb.db", null, myDbConfig);</tt></b> </pre>
131        <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
132          <h3 class="title">Note</h3>
133          <p>
134            Finally, notes of special interest are represented using a note block such
135            as this.
136        </p>
137        </div>
138        <div class="sect2" lang="en" xml:lang="en">
139          <div class="titlepage">
140            <div>
141              <div>
142                <h3 class="title"><a id="moreinfo"></a>For More Information</h3>
143              </div>
144            </div>
145            <div></div>
146          </div>
147          <p>
148            Beyond this manual, you may also find the following sources of information useful when building a
149            transactional DB application:
150        </p>
151          <div class="itemizedlist">
152            <ul type="disc">
153              <li>
154                <p>
155                    
156                    
157                    <a href="http://www.oracle.com/technology/documentation/berkeley-db/db/gsg/JAVA/index.html" target="_top">
158                        Getting Started with Berkeley DB for Java
159                    </a> 
160
161
162                     
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                </p>
193              </li>
194              <li>
195                <p>
196                    
197                     <a href="http://www.oracle.com/technology/documentation/berkeley-db/db/collections/tutorial/index.html" target="_top">
198                            Berkeley DB Collections Tutorial
199                    </a>
200                    </p>
201              </li>
202            </ul>
203          </div>
204        </div>
205      </div>
206    </div>
207    <div class="navfooter">
208      <hr />
209      <table width="100%" summary="Navigation footer">
210        <tr>
211          <td width="40%" align="left"><a accesskey="p" href="index.html">Prev</a>��</td>
212          <td width="20%" align="center">
213            <a accesskey="u" href="index.html">Up</a>
214          </td>
215          <td width="40%" align="right">��<a accesskey="n" href="introduction.html">Next</a></td>
216        </tr>
217        <tr>
218          <td width="40%" align="left" valign="top">Getting Started with Berkeley DB Transaction Processing��</td>
219          <td width="20%" align="center">
220            <a accesskey="h" href="index.html">Home</a>
221          </td>
222          <td width="40%" align="right" valign="top">��Chapter��1.��Introduction</td>
223        </tr>
224      </table>
225    </div>
226  </body>
227</html>
228