Validation with CDI