This project consists of three practical assignments for the Distributed Systems course, focusing on implementing application prototypes using Java. The three scenarios include Mutual Exclusion with the Token Ring Algorithm, Data Dissemination using the Anti-Entropy Algorithm, and a Basic Chat Application using Totally Ordered Multicast.
- Java: Ensure Java JDK 11 or higher is installed on your Linux system.
- Gradle: This project uses Gradle as a build tool. Install Gradle version 7.0 or higher.
Update the package index:
sudo apt update
Install Java JDK (can be a newer version):
sudo apt install openjdk-11-jdk
Verify the installation:
java -version
Run Gradle Build: Execute the following command, in the root of the project, to build the project and download all necessary dependencies from public repositories:
./gradlew build
Optional : To remove previous build, run the following command.
./gradlew clean
In the root of the project run the following command.
./gradlew runRingGenrator
In the root of the project run the following command.
./gradlew runAntiEntropyGenerator
In the root of the project run the following command.
./gradlew runChatGenerator