you are given a complete, working framework of the SodaFountain project implemented in Java. This implementation does not include synchronization or mutual exclusion.
You should expand all of the files in this Zip file into the same directory. In addition to the Java files, the Zip file also includes a jGRASP project file, and a PowerPoint presentation describing the project.
Your task is to add synchronization and mutual exclusion to the [url removed, login to view] file using the Java Semaphore class, following the rules contained in the PowerPoint presentation. There are comments embedded in this Java file indicating where you should consider adding your synchronization and/or mutual exclusion code.
When your project team is finished, one person from your team should upload the [url removed, login to view] file as modified by your team. (Please include the names of all members of your team in a comment in this file.) You do not need to upload the other Java files, since they will be unchanged.
Note: we have to write code for synchorization and mutual exclusion using semaphores in java, All coding must be done in SadofountainServer classsodaFlavours contain 3 Syrup & 2 hot water dispenser,program should run as per the real time sodafountain machine
9 freelancers are bidding on average $37 for this job
It looks like an easy task, and i like dealing with parallel execution logic, semaphores and so on. I am a backend java developer, with over 5 years of experience.