Sample Java application.