I use JSR303 & Spring Validator (which I don't...
# server
x
I use JSR303 & Spring Validator (which I don't like that much tbh) for incoming request validation. Requests extend a shape of validation responses (genericError, List<propertyErrorNameValueTuple>) and that is piped through messages to get localised error messages. Implemented Spring validator handles more heavyweight things like DB checks etc. JSR303 for simple stuff