Java Core Samples

Please use the links below to view the descriptions and specific instructions for individual samples in the following subdirectories:

Autoid ref
Demonstrates joining database objects using an autoid reference.
Autoid vector
Demonstrates joining database objects using a vector of autoid references.
events asyncbasic
Demonstrates asynchronous event operations.
events asyncnative
Demonstrates asynchronous event operations using two applications and a shared-memory database.
incBackup
Demonstrates incremental backup and restore.
indexes BTree
Demonstrates search operations with tree indexes.
indexes Compound
Demonstrates the definition and usage of compound (multi-field) indexes.
indexes FullText
Demonstrates full-text lookup operations over a string vector using a B-tree index.
indexes HashTable
Demonstrates operations on unique and non-unique hash indexes.
indexes Patricia
Demonstrates Patricia trie match functions using a string key.
indexes RTree
Demonstrates R-tree index operations.
indexes Trigram
Demonstrates usage of the trigram index.
index join
Demonstrates joining database objects using indexes.
open
Demonstrates opening and connecting to an eXtremeDB database.
open2
Demonstrates opening and connecting to two eXtremeDB databases.
operations
Demonstrates basic insert, update, and delete operations.
ConnectCtx
Connects to the database opened by createdb_sniffer, then throws an exception to simulate a crash.
createdb sniffer
Creates/opens a database using shared memory and runs a sniffer.
perf
Displays timings indicating performance for basic insert, update, and delete operations.
perf2
Displays timings indicating performance for basic insert, update, and delete operations using two databases.
saveload
Demonstrates saving and loading a binary database image to/from disk.
seqapi
Demonstrates various operations over sequences using Java.
sharding
Demonstrates database sharding using Java.
sniffer
Demonstrates the ability to detect 'dead' connections.
statistics
Demonstrates the runtime statistics API.
ttl
Demonstrates usage of the Time-To-Live technique for automatically deleting obsolete objects.
types
Demonstrates usage of various Java database types.
xml
Demonstrates XML export and import of database objects.