yep that's why the sample is called 'design by contract' ;)
*Romain Manni-Bucau* *Twitter: @rmannibucau <https://twitter.com/rmannibucau>* *Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2013/5/9 David Salter <[email protected]> > Ah, that makes sense. > > You mean you only need to add the interceptor for method validation and > not for property validation. > > Dave. > > On 9 May 2013, at 21:31, Romain Manni-Bucau <[email protected]> wrote: > > > Hi > > > > the page is right > > > > bean validation = method validation for you? > > > > *Romain Manni-Bucau* > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>* > > *Blog: **http://rmannibucau.wordpress.com/*< > http://rmannibucau.wordpress.com/> > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* > > *Github: https://github.com/rmannibucau* > > > > > > > > 2013/5/9 David Salter <[email protected]> > > > >> Hi, > >> > >> I've just been reading the details about Bean Validation at > >> > http://tomee.apache.org/examples-trunk/bean-validation-design-by-contract/README.html > >> > >> This page says that to use Bean Validation, you need to add the > >> BeanValidationAppendixInterceptor by editing the conf/system.properties > file > >> > >> I've found that Bean Validation seems to work without having to specify > >> this property. > >> > >> Is the page wrong, or is this interceptor specified elsewhere in TomEE. > >> > >> I'm currently using the Web Profile 1.5.2 version of TomEE. > >> > >> Thanks. > >> > >> Dave. > >> > >> > >
