Multithread, Socket and RMI Java Programming

 

August 3, 2012

Multithread, Socket and RMI Java Programming

Project for Distributed Systems.

This is an example of a multithreaded java application, synchronizing with other equal peers via socket and with a server via RMI.

The project is a simulation of the musical balloons game: peers are N kids passing N-1 balloons in a circle while the music is playing; the  server registers players, decides when the music starts and stops and detects which is the loser kid; the loser kid leaves the circle, the networks needs to set up again and the game continues until there is a final winner.

The full text(italian) and java code can be found here: MusicalBalloons. The developed version includes the first 2 optional parts, even if not requested.