Uses Java RMI for an election