Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 851 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 851 Bytes

Berkeley-Algorithm

Berkeley algorithm implementation, using Client-Server Architecture (Java RMI), for Distributed Systems class at FURB.

Authors

Eduardo Z. Feller
Hugo Marcel Larsen
Lucas Vanderlinde

Execution

maven clean install

Start the servers on each of the three machines with their local time.

java --enable-preview -cp target/t3-berkeley-1.0.0.jar server.machine.Machine1
java --enable-preview -cp target/t3-berkeley-1.0.0.jar server.machine.Machine2
java --enable-preview -cp target/t3-berkeley-1.0.0.jar server.machine.Machine3

Run the main class of the algorithm and check the change in the local time of the three machines.

java --enable-preview -jar target/t3-berkeley-1.0.0.jar