shouldnt a runtime validation be done as well? +1 to support/tolerate server upgrade without repackaging
Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber <http://www.tomitribe.com> 2015-08-21 10:17 GMT-07:00 Thomas Andraschko <[email protected]>: > IMO the module should work on both EE6 and EE7. > We often provide a WAR file and the customers decide where to deploy it. > > 2015-08-21 19:00 GMT+02:00 Gerhard Petracek <[email protected]>: > > > @ee6 only: that's correct > > however, it looks like that user is using a manual setup with bv v1.1. > > -> we need to add that information to the documentation (about ee6 and bv > > v1.0) and/or we validate the bv-api with an extension. > > > > regards, > > gerhard > > > > > > > > 2015-08-21 17:35 GMT+02:00 Rafael Benevides <[email protected]>: > > > > > Yeap. > > > > > > You right! > > > > > > In this case I think we should drop a note at > > > http://deltaspike.apache.org/documentation/bean-validation.html about > > it. > > > > > > > > > On Fri, Aug 21, 2015 at 11:16 AM, John D. Ament <[email protected] > > > > > wrote: > > > > > > > Rafael, > > > > > > > > The bean validation module should not be used in EE 7 app servers, it > > was > > > > meant to plug a hole in EE 6 containers to continue to leverage > > injection > > > > into EE 6 constraint validators (a need I had at the time, which is > now > > > > replaced by using an EE 7 container). > > > > > > > > John > > > > > > > > On Fri, Aug 21, 2015 at 11:09 AM Rafael Benevides < > [email protected] > > > > > > > wrote: > > > > > > > > > Hi all, > > > > > > > > > > Yesterday Gerhard asked me to take a look at the following issue: > > > > > https://github.com/jpangamarca/bean-validation-shutdown-issue > > > > > > > > > > After some investigation I found that ConstraintValidatorFactory > > > > included a > > > > > new method in Java EE 7 (#releaseInstance > > > > > < > > > > > > > > > > > > > > > https://docs.oracle.com/javaee/7/api/javax/validation/ConstraintValidatorFactory.html#releaseInstance-javax.validation.ConstraintValidator- > > > > > > > > > > > ) > > > > > > > > > > - ConstraintValidatorFactory (Java EE 6): > > > > > > > > > > > > > > > > > > > > http://docs.oracle.com/javaee/6/api/javax/validation/ConstraintValidatorFactory.html > > > > > - ConstraintValidatorFactory (Java EE 7): > > > > > > > > > > > > > > > > > > > > https://docs.oracle.com/javaee/7/api/javax/validation/ConstraintValidatorFactory.html > > > > > > > > > > This email is to discuss the expected approach for this issue: > > > > > > > > > > 1) Create a new artifact for Java EE > > > > > 7: deltaspike-bean-validation-module-impl-ee7 > > > > > > > > > > 2) Upgrade the current supported version to BV 1.1 (Java EE 7) > > > > > > > > > > 3) Others. > > > > > > > > > > So What are your thoughts about this issue and what's the approach > > that > > > > > DeltaSpike is using to leave with changes from EE6 to EE7? > > > > > > > > > > > > > > > Thanks > > > > > > > > > > > > > > > -- > > > > > *Rafael Benevides | Senior Software Engineer* > > > > > JBoss Developer Materials lead > > > > > M: +1-919-592-6255 > > > > > > > > > > > > > > > > > > > > Better technology. Faster innovation. Powered by community > > > collaboration. > > > > > See how it works at www.redhat.com > > > > > > > > > > > > > > > > > > > > > -- > > > *Rafael Benevides | Senior Software Engineer* > > > JBoss Developer Materials lead > > > M: +1-919-592-6255 > > > > > > > > > > > > Better technology. Faster innovation. Powered by community > collaboration. > > > See how it works at www.redhat.com > > > > > >
