1 Reply Latest reply on Mar 20, 2007 12:52 PM by Mark Jones

    Validation - Best Practices

    Mark Jones Newbie

      We are using Seam 1.2 + Icefaces (after trying tomahawk and trinidad) and have used a number of validation techniques over the last few months. It just seems that there are so many ways to validate (some of which are semi-deprecated) for ejb, seam, and jsf that I am not sure what is best.

      Typically we will have valid data types (lends itself to ejb annotations) and non-duplicate key type validations (requires bean based validation) but as with all software projects there are exceptions.

      Could you please advise what is the best way to validate the data and also to display this nicely to the user? I realise there is a lot of documentation about this, however from my end it seems to be like hitting a moving target.