# HA_Simple

> This sample demonstrates basic eXtremeDB High Availability functionality. The master application creates the database, then waits for connection requests from replicas. After the replica attaches, master creates several objects in the database. Replica applications create duplicates of the master database, synchronize them with the master database, then receive commit data from the master and perform replication. The replica reports its current state using the notification mechanism.

> To execute the sample, it is necessary to start the application "master" first:

### How to Run

> See instructions here on how to build this and other samples on your development platform. Once built, the sample can be run from the `\target\bin` directory.

> In a console window run:

>         hasimple_master

> Then in a second console window run:

>         hasimple_replica

> But it is more instructive to run one instance in your development environment debugger, stepping through the code.

Related Topics