0

While reading bean validation specification, I got confused that whether it works on semantics or syntax. My view is, it works on semantics through its Constraint Validations. Please correct me or confirm me on my understanding.

Paul Samsotha
  • 205,037
  • 37
  • 486
  • 720
  • It's not clear what you mean by semantics and syntax and how it relates in the context of bean validation. – Paul Samsotha May 18 '18 at 19:53
  • I have a jax rs request which I want to validate, For that I have used bean validation, but my architect says use bean validation for syntax checking and write your own methods for semantics check. Semantics check means the check for allowed data values. and Sytanx check means the check for allowed data types and malformed request. – Milind Pandey May 21 '18 at 06:58

0 Answers0