Uses Hibernate Validator custom constraints : @NotEmpty and @NotBlank.