Input Validation
Validations are applied using two libraries :
Business Validation: Checks the business conditions that may need database communication.
Input Validation: Checks data entered by User. It does not need database communication. It can be further categorized as
Programmatic or Manual validation: Validation code are written manually by Programmer
Declarative validation : Validation are declared using XML configuration or Annotations.
Spring supports both kind of Input validations Programmatic and Declarative.