you have to activate it as explained in the sample http://tomee.apache.org/examples/bean-validation-design-by-contract/README.html
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-03-06 10:13 GMT+01:00 Alex Soto <[email protected]>: > Oh cool then there is something wrong I mean people would run 1.7.1 and > expect that the examples would work with the latest stable not with the > latest snapshot hehehe. So in Tomee 1.X I can use it as well because TomEE > provides out of the box the interceptor, isn't it? > > El dv., 6 març, 2015 a les 10:07, Romain Manni-Bucau (< > [email protected]>) > va escriure: > > > you looked examples-trunk ;) > > > > > > 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-03-06 10:03 GMT+01:00 Alex Soto <[email protected]>: > > > > > Hi I have read in TomEE examples ( > > > > > > http://tomee.apache.org/examples-trunk/bean- > > validation-design-by-contract/README.html > > > ) > > > that you can use Bean Validation in method parameters and specifically > > says > > > that: > > > > > > "TomEE and OpenEJB do not provide anymore > > > BeanValidationAppendixInterceptor since > > > Bean Validation 1.1 does it (with a slighly different usage but the > exact > > > same feature). > > > So basically you don't need to configure anything to use it." > > > > > > But Bean Validation 1.1 is from Java EE 7, so in TomEE 1.7.1 is really > > true > > > this sentence? Does it works? > > > > > > Thank you so much. > > > > > >
