Look at Validator at service

http://docs.spring.io/spring/docs/current/spring-framework-reference/html/validation.html