JSF 2.0 has Bean Validation (JSR 303) and also its own Validation Framework <p>JSF 2.0 has offered <code>Bean Validation</code> (JSR 303) and its own <code>Validation framework</code>, given the choices, i am confused with which one to choose from. </p> <p>It seems that with JSF's validation framework, i may specify constraints at the XHTML view layer. i.e. max length. While using Bean Validation, i would specify the constraints via annotations (@) in the bean.</p> <p>I see the JSF Validation framework as more of a plug-gable attempt, while the bean validation JSR as an elegant solution, can anyone comment on this?</p> <p>May i check if anyone has used one over another and why, or if anyone has used both together?</p>