javaEE homework