Primary-Backup Object Replications in Java
How to run:
- Compile everything
- Open 3 terminals
- First - java Server 9002 [this is the backup]
- Second - java Server 9001 [this is the primary]
- Third - java Client localhost 9001 [change Client.java file to change message depending on whether you want to read or write]