title: Two ways to use Spring 3 validation?
body: <p>I want to use Spring 3 for validation.</p>
  
  <p>In the reference documentation, section 6.2 deals with the <code>Validator</code> interface that we may implement for the classes we want to validate. It's explained how to create the <code>Validator</code> class but not how to validate objects.</p>
  
  <p>Section 6.7 deals with the use of <code>JSR-303</code> API and the annotations that come with. It seems that it's a different way to validate objects (in this case, using annotations without creating <code>Validator</code> classes).</p>
  
  <p>Are there really two ways to use Spring validation or I'm missing something?</p>
  
  <p>One simple question, it's also specified that an implementation of <code>JSR-303</code> API must be present on the classpath. One proposed implementation is <code>Hibernate-Validator</code>. Does Spring provide an implementation?</p>
  
  <p>Thanks</p>