A multi-threaded approach to a cafe system implemented in the Java language