In any webservice, validation input is extremely important because it helps keep the data consistent and secure. During my years as a Java developer, I’ve written several validations within the code, but I have found that this distracts from the intent of the business flow. …