I am new to Spring MVC. I came across the validations provided by hibernate-validator and Spring tag. I have done only a little bit of web programming (Perl) where I had done Javascript validations on the front-end combined with back-end validations to keep out invalid data.
Seems to me that with the validations provided by Spring MVC, one could do validations only on the back-end. What would be different is that all validations would have to wait until the user submits the form. Also, since there would be no front-end validations, performance could be an issue. What I am asking is what is the right approach to form validations while using Spring MVC.