The Medellin JUG tested the Bean Validation with a small app on Weblogic 12c, Tomcat 8.5 and Glassfish 4.1. Some features like @Email and @Negative don't work. Also we tested @Size(min=2, max=100) @NotNull and these worked.

Next the apps description.

Classes:Users: Pojo with one field: @Email @NotNull private String email;AlphaBean: JSF Managed bean with one field: private User user; and one method wich is submitted from a JSF page

validation-api.jar is just the Bean Validation API. You need a compliant implementation to be able to use the features of Bean Validation 2.0.

At the moment, you are using the implementations provided by the app server which is probably compliant with Bean Validation 1.1 but does not support the new features of Bean Validation 2.0.

To make it work, you would need to override your app server BV implementation with the latest Hibernate Validator 6.0.0.Alpha2 which will be the RI of BV 2.0 (so it will be the first implementation of BV 2.0).