| 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>XA Introduction</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 Programmer's Reference Guide" /> |
| 10 | <link rel="up" href="xa.html" title="Chapter 13. Distributed Transactions" /> |
| 11 | <link rel="prev" href="xa_build.html" title="Building a Global Transaction Manager" /> |
| 12 | <link rel="next" href="xa_xa_config.html" title="Configuring Berkeley DB with the Tuxedo System" /> |
| 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">XA Introduction</th> |
| 22 | </tr> |
| 23 | <tr> |
| 24 | <td width="20%" align="left"><a accesskey="p" href="xa_build.html">Prev</a> </td> |
| 25 | <th width="60%" align="center">Chapter 13. |
| 26 | Distributed Transactions |
| 27 | </th> |
| 28 | <td width="20%" align="right"> <a accesskey="n" href="xa_xa_config.html">Next</a></td> |
| 29 | </tr> |
| 30 | </table> |
| 31 | <hr /> |
| 32 | </div> |
| 33 | <div class="sect1" lang="en" xml:lang="en"> |
| 34 | <div class="titlepage"> |
| 35 | <div> |
| 36 | <div> |
| 37 | <h2 class="title" style="clear: both"><a id="xa_xa_intro"></a>XA Introduction</h2> |
| 38 | </div> |
| 39 | </div> |
| 40 | </div> |
| 41 | <p>Berkeley DB can be used as an XA-compliant resource manager. The XA |
| 42 | implementation is known to work with the Tuxedo transaction |
| 43 | manager.</p> |
| 44 | <p>The XA support is encapsulated in the resource manager switch |
| 45 | db_xa_switch, which defines the following functions:</p> |
| 46 | <div class="itemizedlist"> |
| 47 | <ul type="disc"> |
| 48 | <li><span class="emphasis"><em>__db_xa_close.</em></span> Close the resource manager.</li> |
| 49 | <li><span class="emphasis"><em>__db_xa_commit. </em></span> Commit the specified transaction.</li> |
| 50 | <li><span class="emphasis"><em>__db_xa_complete.</em></span> Wait for asynchronous operations to complete.</li> |
| 51 | <li><span class="emphasis"><em>__db_xa_end. </em></span> Disassociate the application from a transaction.</li> |
| 52 | <li><span class="emphasis"><em>__db_xa_forget.</em></span> Forget about a transaction that was heuristically completed. (Berkeley DB does not support heuristic completion.)</li> |
| 53 | <li><span class="emphasis"><em>__db_xa_open.</em></span> Open the resource manager.</li> |
| 54 | <li><span class="emphasis"><em>__db_xa_prepare.</em></span> Prepare the specified transaction.</li> |
| 55 | <li><span class="emphasis"><em>__db_xa_recover.</em></span> Return a list of prepared, but not yet committed transactions.</li> |
| 56 | <li><span class="emphasis"><em>__db_xa_rollback.</em></span> Abort the specified transaction.</li> |
| 57 | <li><span class="emphasis"><em>__db_xa_start.</em></span> Associate the application with a transaction.</li> |
| 58 | </ul> |
| 59 | </div> |
| 60 | <p>The Berkeley DB resource manager does not support the following optional |
| 61 | XA features:</p> |
| 62 | <div class="itemizedlist"> |
| 63 | <ul type="disc"> |
| 64 | <li>Asynchronous operations</li> |
| 65 | <li>Transaction migration</li> |
| 66 | </ul> |
| 67 | </div> |
| 68 | <p>The Tuxedo System is available from <a class="ulink" href="http://www.oracle.com/us/bea/index.html" target="_top">Oracle BEA Systems</a>.</p> |
| 69 | </div> |
| 70 | <div class="navfooter"> |
| 71 | <hr /> |
| 72 | <table width="100%" summary="Navigation footer"> |
| 73 | <tr> |
| 74 | <td width="40%" align="left"><a accesskey="p" href="xa_build.html">Prev</a> </td> |
| 75 | <td width="20%" align="center"> |
| 76 | <a accesskey="u" href="xa.html">Up</a> |
| 77 | </td> |
| 78 | <td width="40%" align="right"> <a accesskey="n" href="xa_xa_config.html">Next</a></td> |
| 79 | </tr> |
| 80 | <tr> |
| 81 | <td width="40%" align="left" valign="top">Building a Global Transaction Manager </td> |
| 82 | <td width="20%" align="center"> |
| 83 | <a accesskey="h" href="index.html">Home</a> |
| 84 | </td> |
| 85 | <td width="40%" align="right" valign="top"> Configuring Berkeley DB with the Tuxedo System</td> |
| 86 | </tr> |
| 87 | </table> |
| 88 | </div> |
| 89 | </body> |
| 90 | </html> |