home | news | road map | proposals | contribute | forum | bug tracker
Bean Validation
Welcome to the Bean Validation specification website. You will find information about the stable version 1.0 as well as version 1.1 currently being worked on.
What is Bean Validation
Bean Validation is a Java specification which:
- provides a unified way of declaring and defining constraints on an object model.
- defines a runtime engine to validate objects
public class User {
@NotNull @Email
public String getEmail() { return email; }
public void setEmail(String email) {
this.email = email;
}
private String email;
}
Bean Validation 1.1
The first early draft is available.
Bean Validation 1.1 is a specification proposal which aims at improving upon the initial version. Its JCP matricule is JSR-349. Like all Red Hat lead JSRs, Bean Validation is made in the open in an open source fashion. You are encouraged to come contribute to make a difference.
You can check out the Bean Validation 1.1 goals or read the first public draft.
Latest news
Stay up to date, subscribe to the news feed.