Hi,
I am starting a new Spring-MVC project. Validation is a important feature in any project. This way, i have seen many approachs as follows:
- Spring Validator interface
It sounds like a Struts 1.x validation. In my opinion, it is not agile.
- Commons Validator
I think it is better than Validator interface
- Annotation based bean validation (Spring modules)
It appears to be agile, but i do not know whether it does support for collection-based property
So, what's the most AGILE APPROACH to validate Spring-MVC command in your opinion ? And why ? Consider many features like collection-based property, custom validation etc. If you know/use another approach in Spring-MVC, feel free to share it.
regards,