Input Validation

Validations are applied using two libraries :

  1. Business Validation: Checks the business conditions that may need database communication.

  2. Input Validation: Checks data entered by User. It does not need database communication. It can be further categorized as

      1. Programmatic or Manual validation: Validation code are written manually by Programmer

    1. Declarative validation : Validation are declared using XML configuration or Annotations.

Spring supports both kind of Input validations Programmatic and Declarative.