Chapter 4. Validating and Using the Model Data
Validating data is important as business depends on the data that gets stored in the database. So how do we validate the data? Validation is something that makes sure that valid data is getting stored in the database. Validation could be anything from comparing two fields in a table to multiple validations on a single field involving different columns from a different table.
In any other framework, we would end up writing a lot of code even for a small validation. But in ADF, we do little or no coding at all, and most of the validations are achieved declaratively.
In this chapter, we will learn the following topics:
Declarative validation
Groovy expressions
Learning about APIs
Managing transactions
Exposing data