ForTheBadge built-with-love Open Source Love png2 GitHub version

Implementation of Consistency Algorithms in Replicated Database Systems.

HOW TO RUN

Open five terminals:

Update your $CLASSPATH env var to the path of connector-xxx.jar

** ADD current directory in your class path in every session**

terminal1

    rmiregistry -J-Djava.rmi.useLocalHostName=true -J-Djava.rmi.server.hostname=127.0.0.1

terminal2

    cd src/
    java Server -cp ./mysql-connector-java-8.0.19.jar

terminal3

    cd src/
    java Server2 -cp ./mysql-connector-java-8.0.19.jar

terminal4

    cd src/
    java Client -cp ./mysql-connector-java-8.0.19.jar
    

terminal5

    cd src/
    java Client2 -cp ./mysql-connector-java-8.0.19.jar