I have a Java backend with Spring MVC and I am using validation in this way on my domain object for an email address:
import javax.validation.constraints.NotNull
If you use Hibernate Validator you can use @Email annotation Anyway you can create your custom contraint annotation and set a custom message to show in your resource properties file.