I am working on a java project which has many external interfaces like web, web services and other distributed components. There are occasions where i receive same kind of data structures in multiple interfaces. I want to validate these kind of structures. Right now my requirement is to validate already populated objects, where many properties has to be validated against simple rules and other against custom validations like db check or rpc call reply.
Currently i am trying to do this with spring validation framework and spring-module-validation. Is there any other suitable options which can be easily integrated with Spring?