© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
J. Juneau, T. TelangJava EE to Jakarta EE 10 Recipeshttps://doi.org/10.1007/978-1-4842-8079-9_10

10. Jakarta Bean Validation

Josh Juneau1   and Tarun Telang2
(1)
Hinckley, IL, USA
(2)
Hyperbad, India
 

One of the most important pieces of any data-driven application is data validation. It is imperative that one validates data before it is inserted into a database to maintain integrity. There are many reasons to validate, the most important being security purposes, data consistency, and proper formatting. Many web applications use validation in the presentation layer via JavaScript for validation of form data and in the persistence layer. However, sometimes JavaScript ...

Get Java EE to Jakarta EE 10 Recipes: A Problem-Solution Approach for Enterprise Java 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.