marks-calculator, sample for JSF and BVal