A sample Java application.