Serialization of an object graph includes class information as
well as instance information. If more than one instance of the same
class is serialized as separate serialization operations then the
class information exists more than once. To eliminate this
inefficiency the
StoredClassCatalog
class will store the class format for all database records stored
using a
SerialBinding.
Refer to the
ship
sample code for examples (the class
SampleDatabase
in
examples/java/src/com/sleepycat/examples/collections/ship/basic/SampleDatabase.java
is a good place to start).