2 Replies Latest reply on Aug 17, 2009 11:38 AM by Leo van den berg

    Question regarding Seam Interceptor and Hibernate Validator

    Andrew Martin Newbie

      1. In some document I saw something like this  -



      @Stateless           (1)
      @Name(register)
      @Interceptors(SeamInterceptor.class)         (2)
      public class RegisterAction implements Register {


      (2)The SeamInterceptor EJB interceptor must be enabled for all session beans which are Seam components.


      Now is this really required (when?) cause I have never used that without any problem?



      1. Can we use hibernate validator tags in pojo beans or session beans to validate properties?