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 Replicated Berkeley DB Applications" /> 10 <link rel="up" href="index.html" title="Getting Started with Replicated Berkeley DB Applications" /> 11 <link rel="prev" 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> 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 This document describes how to write replicated Berkeley DB applications for Berkeley DB version 4.8. 59 The APIs used to implement replication in your application 60 are described here. This book describes the concepts surrounding replication, the scenarios under which you 61 might choose to use it, and the architectural requirements that a replication application has over a 62 transactional application. 63 </p> 64 <p> 65 This book is aimed at the software engineer responsible for writing a 66 replicated DB application. 67 </p> 68 <p> 69 This book assumes that you have already read and understood the 70 concepts contained in the 71 <span><em class="citetitle">Berkeley DB Getting Started with Transaction Processing</em> guide.</span> 72 73 </p> 74 <div class="sect1" lang="en" xml:lang="en"> 75 <div class="titlepage"> 76 <div> 77 <div> 78 <h2 class="title" style="clear: both"><a id="conventions"></a>Conventions Used in this Book</h2> 79 </div> 80 </div> 81 </div> 82 <div class="toc"> 83 <dl> 84 <dt> 85 <span class="sect2"> 86 <a href="preface.html#moreinfo">For More Information</a> 87 </span> 88 </dt> 89 </dl> 90 </div> 91 <p> 92 The following typographical conventions are used within in this manual: 93 </p> 94 <p> 95 Class names are represented in <code class="classname">monospaced font</code>, as are <code class="methodname">method 96 names</code>. For example: 97 98 99 100 <span>"<code class="methodname">DbEnv::open()</code> is a 101 <code class="classname">DbEnv</code> class method."</span> 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 <code class="classname">monospaced font</code> on a shaded background. 109 For example: 110 </p> 111 <pre class="programlisting">typedef struct vendor { 112 char name[MAXFIELD]; // Vendor name 113 char street[MAXFIELD]; // Street name and number 114 char city[MAXFIELD]; // City 115 char state[3]; // Two-digit US state code 116 char zipcode[6]; // US zipcode 117 char phone_number[13]; // Vendor phone number 118} VENDOR; </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 <strong class="userinput"><code>monospaced bold</code></strong> font. For example: 122 </p> 123 <pre class="programlisting">typedef struct vendor { 124 char name[MAXFIELD]; // Vendor name 125 char street[MAXFIELD]; // Street name and number 126 char city[MAXFIELD]; // City 127 char state[3]; // Two-digit US state code 128 char zipcode[6]; // US zipcode 129 char phone_number[13]; // Vendor phone number 130 <strong class="userinput"><code>char sales_rep[MAXFIELD]; // Name of sales representative 131 char sales_rep_phone[MAXFIELD]; // Sales rep's phone number </code></strong> 132} VENDOR; </pre> 133 <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"> 134 <h3 class="title">Note</h3> 135 <p> 136 Finally, notes of special interest are represented using a note block such 137 as this. 138 </p> 139 </div> 140 <div class="sect2" lang="en" xml:lang="en"> 141 <div class="titlepage"> 142 <div> 143 <div> 144 <h3 class="title"><a id="moreinfo"></a>For More Information</h3> 145 </div> 146 </div> 147 </div> 148 <p> 149 Beyond this manual, you may also find the following sources of information useful when building a 150 transactional DB application: 151 </p> 152 <div class="itemizedlist"> 153 <ul type="disc"> 154 <li> 155 <p> 156 157 <a class="ulink" href="http://www.oracle.com/technology/documentation/berkeley-db/db/gsg_txn/CXX/index.html" target="_top"> 158 Getting Started with Transaction Processing for C++ 159 </a> 160 161 162 163 164 165 </p> 166 </li> 167 <li> 168 <p> 169 170 <a class="ulink" href="http://www.oracle.com/technology/documentation/berkeley-db/db/gsg/CXX/index.html" target="_top"> 171 Getting Started with Berkeley DB for C++ 172 </a> 173 174 175 176 177 178 179 </p> 180 </li> 181 <li> 182 <p> 183 <a class="ulink" href="http://www.oracle.com/technology/documentation/berkeley-db/db/programmer_reference/index.html" target="_top"> 184 Berkeley DB Programmer's Reference Guide 185 </a> 186 </p> 187 </li> 188 <li> 189 <p> 190 <span> 191 192 <a class="ulink" href="http://www.oracle.com/technology/documentation/berkeley-db/db/api_reference/CXX/frame_main.html" target="_top"> 193 Berkeley DB C++ API 194 </a> 195 </span> 196 197 198 199 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">��</td> 213 <td width="40%" align="right">��<a accesskey="n" href="introduction.html">Next</a></td> 214 </tr> 215 <tr> 216 <td width="40%" align="left" valign="top">Getting Started with Replicated Berkeley DB Applications��</td> 217 <td width="20%" align="center"> 218 <a accesskey="h" href="index.html">Home</a> 219 </td> 220 <td width="40%" align="right" valign="top">��Chapter��1.��Introduction</td> 221 </tr> 222 </table> 223 </div> 224 </body> 225</html> 226