A demo java application