3 Replies Latest reply on Aug 12, 2009 6:55 PM by kukeltje.ronald.jbpm.org

    hibernate validations with icefaces and without seam framework?

    bimki

      hi,


      I'm going to use hibernate annotation based validation mechanism in my project. Is it possible to use hiberate validation with icefaces but without seam?
      Where can I found some docummentation about this integration?


      I've tried to find something in gooogle about this problem, but all related links I've found were connected with jboss seam...


      thanks in advance!

        • 1. Re: hibernate validations with icefaces and without seam framework?
          lvdberg

          Well,


          Re-consider your choice because Seam helps you a lot with the plumbing of your application. And if you really insist: Hibernate validation documentation should provide you with suffient help to get it working by calling the validator framework yourself (it's really easy).


          Leo




          • 2. Re: hibernate validations with icefaces and without seam framework?
            bimki

            thanks for Your reply.
            Whole seam framewor is to heavy for me and I don't want to use whole framework, but I'd like to have annotation based bean validation :)

            • 3. Re: hibernate validations with icefaces and without seam framework?
              kukeltje.ronald.jbpm.org

              The whole framework is to big... ok, In Seam 3 it will be split in more manageable parts. But in the mean time you prefer:
              - Not having Beans automatically available in JSF pages, but keep configuring faces-config.xml files
              - On top of that, implement hibernate validation yourself
              - No advantages of conversations?


              And keep the code you start building yourself maintained for the next few years? Hmmmm.... Would not be my choice just as Leo states, I would reconsider.


              I have one question though....If you do not want to use seam, why do you post in the seam forum? (no offence, just really curious)