C H A P T E R 14
Validation with Type Conversion and Formatting
In an enterprise application, validation is critical. The purpose of validation is to verify that the data being processed fulfills all predefined business requirements as well as to ensure the data integrity and usefulness in other layers of the application.
In application development, data validation is always mentioned along with conversion and formatting. The reason is that most likely the format of the source of data is different from the format being used in the application server. For example, in a web application, a user enters information in the web browser frontend. When the user saves the data, the data is sent to the server (after the local validation has completed). ...
Get Pro Spring 3 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.