Flynn example app written in Java