Simple JAVA sample app