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> 7 Serialized Object Storage 8 </title> 9 <link rel="stylesheet" href="gettingStarted.css" type="text/css" /> 10 <meta name="generator" content="DocBook XSL Stylesheets V1.62.4" /> 11 <link rel="home" href="index.html" title="Berkeley DB Collections Tutorial" /> 12 <link rel="up" href="collectionOverview.html" title="Appendix��A.�� API Notes and Details " /> 13 <link rel="previous" href="UsingStoredCollections.html" title=" Using Stored Collections " /> 14 </head> 15 <body> 16 <div class="navheader"> 17 <table width="100%" summary="Navigation header"> 18 <tr> 19 <th colspan="3" align="center"> 20 Serialized Object Storage 21 </th> 22 </tr> 23 <tr> 24 <td width="20%" align="left"><a accesskey="p" href="UsingStoredCollections.html">Prev</a>��</td> 25 <th width="60%" align="center">Appendix��A.�� 26 API Notes and Details 27 </th> 28 <td width="20%" align="right">��</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="SerializedObjectStorage"></a> 38 Serialized Object Storage 39 </h2> 40 </div> 41 </div> 42 <div></div> 43 </div> 44 <p> 45 Serialization of an object graph includes class information as 46 well as instance information. If more than one instance of the same 47 class is serialized as separate serialization operations then the 48 class information exists more than once. To eliminate this 49 inefficiency the 50 <a href="../../java/com/sleepycat/bind/serial/StoredClassCatalog.html" target="_top">StoredClassCatalog</a> 51 52 class will store the class format for all database records stored 53 using a 54 <a href="../../java/com/sleepycat/bind/serial/SerialBinding.html" target="_top">SerialBinding</a>. 55 Refer to the 56 <tt class="literal">ship</tt> sample code for examples (the class 57 <tt class="literal">SampleDatabase</tt> in 58 <tt class="filename">examples_java/src/com/sleepycat/examples/collections/ship/basic/SampleDatabase.java</tt> 59 is a good place to start). 60 </p> 61 </div> 62 <div class="navfooter"> 63 <hr /> 64 <table width="100%" summary="Navigation footer"> 65 <tr> 66 <td width="40%" align="left"><a accesskey="p" href="UsingStoredCollections.html">Prev</a>��</td> 67 <td width="20%" align="center"> 68 <a accesskey="u" href="collectionOverview.html">Up</a> 69 </td> 70 <td width="40%" align="right">��</td> 71 </tr> 72 <tr> 73 <td width="40%" align="left" valign="top"> 74 Using Stored Collections 75 ��</td> 76 <td width="20%" align="center"> 77 <a accesskey="h" href="index.html">Home</a> 78 </td> 79 <td width="40%" align="right" valign="top">��</td> 80 </tr> 81 </table> 82 </div> 83 </body> 84</html> 85