added bean validation example