refactor bean validation (replace annotation with xml)