Java : Annotation : Example of validation with annotation (mandatory, target, maxlength…)
Hello, I would present you an example concerning the annotation in JAVA: validation POJO with annotation. Brief presentation Introduced with Java SE 5, the annotations are more increasingly used in the development of applications. Annotations provide informations about a class and they have no direct effect on the annotated code. Annotations can be preserved at runtime (RetentionPolicy.RUNTIME) or are only available at development ...more»