Validation while binding, test and Javadocs