a simple java application