• 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_db_rep/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 Replicated Berkeley DB Applications" />
10    <link rel="up" href="index.html" title="Getting Started with Replicated Berkeley DB Applications" />
11    <link rel="previous" href="index.html" title="Getting Started with Replicated Berkeley DB Applications" />
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 write replicated Berkeley DB applications.
60        The APIs used to implement replication in your application 
61        are described here. This book describes the concepts surrounding replication, the scenarios under which you
62        might choose to use it, and the architectural requirements that a replication application has over a
63        transactional application.
64    </p>
65      <p>
66        This book is aimed at the software engineer responsible for writing a
67        replicated DB application.
68    </p>
69      <p>
70        This book assumes that you have already read and understood the
71        concepts contained in the
72        <span><i class="citetitle">Berkeley DB Getting Started with Transaction Processing</i> guide.</span>
73        
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></div>
83        </div>
84        <p>
85        The following typographical conventions are used within in this manual:
86    </p>
87        <p>
88        Class names are represented in <tt class="classname">monospaced font</tt>, as are <tt class="methodname">method
89        names</tt>. For example: 
90        
91        <span>"The <tt class="methodname">Environment()</tt>
92        constructor returns an <tt class="classname">Environment</tt> class object."</span>
93
94        
95    </p>
96        <p>
97        Variable or non-literal text is presented in <span class="emphasis"><em>italics</em></span>. For example: "Go to your
98        <span class="emphasis"><em>DB_INSTALL</em></span> directory."
99    </p>
100        <p>
101        Program examples are displayed in a <tt class="classname">monospaced font</tt> on a shaded background.
102        For example:
103    </p>
104        <pre class="programlisting">import com.sleepycat.db.DatabaseConfig;
105
106...
107
108// Allow the database to be created.
109DatabaseConfig myDbConfig = new DatabaseConfig();
110myDbConfig.setAllowCreate(true);</pre>
111        <p>
112        In some situations, programming examples are updated from one chapter to the next. When
113        this occurs, the new code is presented in <b class="userinput"><tt>monospaced bold</tt></b> font. For example:
114    </p>
115        <pre class="programlisting"><b class="userinput"><tt>import com.sleepycat.db.Database;</tt></b>
116import com.sleepycat.db.DatabaseConfig;
117
118...
119
120// Allow the database to be created.
121DatabaseConfig myDbConfig = new DatabaseConfig();
122myDbConfig.setAllowCreate(true);
123<b class="userinput"><tt>Database myDb = new Database("mydb.db", null, myDbConfig);</tt></b> </pre>
124        <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
125          <h3 class="title">Note</h3>
126          <p>
127            Finally, notes of special interest are represented using a note block such
128            as this.
129        </p>
130        </div>
131        <div class="sect2" lang="en" xml:lang="en">
132          <div class="titlepage">
133            <div>
134              <div>
135                <h3 class="title"><a id="moreinfo"></a>For More Information</h3>
136              </div>
137            </div>
138            <div></div>
139          </div>
140          <p>
141            Beyond this manual, you may also find the following sources of information useful when building a
142            transactional DB application:
143        </p>
144          <div class="itemizedlist">
145            <ul type="disc">
146              <li>
147                <p>
148                     
149                     
150                    <a href="http://www.oracle.com/technology/documentation/berkeley-db/db/gsg_txn/JAVA/index.html" target="_top">
151                         Getting Started with Transaction Processing for Java
152                    </a> 
153
154
155                     
156                     
157                </p>
158              </li>
159              <li>
160                <p>
161                     
162                     
163                    <a href="http://www.oracle.com/technology/documentation/berkeley-db/db/gsg/JAVA/index.html" target="_top">
164                        Getting Started with Berkeley DB for Java
165                    </a> 
166
167
168
169                     
170                     
171                </p>
172              </li>
173              <li>
174                <p>
175                    
176
177                    <a href="http://www.oracle.com/technology/documentation/berkeley-db/db/collections/tutorial/index.html" target="_top">
178                            Berkeley DB Collections Tutorial
179                    </a>
180                    </p>
181              </li>
182              <li>
183                <p>
184                    <a href="http://www.oracle.com/technology/documentation/berkeley-db/db/ref/toc.html" target="_top">
185                        Berkeley DB Programmer's Reference Guide
186                    </a>
187                </p>
188              </li>
189              <li>
190                <p>
191                    
192                    
193                    <a href="http://www.oracle.com/technology/documentation/berkeley-db/db/java/index.html" target="_top">
194                        Berkeley DB Javadoc
195                    </a>
196                </p>
197              </li>
198            </ul>
199          </div>
200        </div>
201      </div>
202    </div>
203    <div class="navfooter">
204      <hr />
205      <table width="100%" summary="Navigation footer">
206        <tr>
207          <td width="40%" align="left"><a accesskey="p" href="index.html">Prev</a>��</td>
208          <td width="20%" align="center">
209            <a accesskey="u" href="index.html">Up</a>
210          </td>
211          <td width="40%" align="right">��<a accesskey="n" href="introduction.html">Next</a></td>
212        </tr>
213        <tr>
214          <td width="40%" align="left" valign="top">Getting Started with Replicated Berkeley DB Applications��</td>
215          <td width="20%" align="center">
216            <a accesskey="h" href="index.html">Home</a>
217          </td>
218          <td width="40%" align="right" valign="top">��Chapter��1.��Introduction</td>
219        </tr>
220      </table>
221    </div>
222  </body>
223</html>
224