marked attendance for adv java batch