News

Here is an example described in Java EE 6 article, that declares some constraints through Bean Validation annotations: public class Address { @NotNull @Size(max=30) private String addressline1; ...