sample java application