# Java Core samples

> Please use the links below to view the description and specific instructions for individual samples in the following sub-directories:

> 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 btree 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 RTree 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/delete operations
> ConnectCtx | This sample connects to the database opened by createdb_sniffer then throws an exception to simulate a crash
> creatdb_sniffer | This sample creates/opens a database using shared memory and runs a sniffer.
> perf | Displays some timings indicating performance for basic insert, update and delete operations
> perf2 | Displays some 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 of automatically deleting obsolete objects
> types | Demonstrates usage of various Java database types