Do you know an implementation of springframework’s LocalValidatorFactoryBean other than hibernate-validator?
We don’t want hibernate-validator because it fetches too many dependencies in a small spring-mvc 3 application that doesn’t use hibernate.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I can’t precisely answer you question with respect to other implementations of
LocalValidatorFactoryBean, but what concerns the dependencies of Hibernate Validator, there are actually not that many.The only strict dependency besides the JSR 303 API (validation-api-1.0.0.GA.jar) is slf4j-api-1.5.6.jar plus a binding for it (here you could use the NOP binding for instance if you don’t want to pull in a logger).
All the other dependencies are optional and can be left out depending on your setup/requirements (e.g. JAXB is only required when working with XML descriptors and running on JDK 5).