 also
            both the same.  The feature requires the use of
            the <code>validationGroups</code> attribute on all of
            the <code>&lt;f:validateBean /&gt;</code> tags and
            the <code>&lt;f:validateWholeBean /&gt;</code> tag.</p>

            <p>First, the <code>ConstraintValidator</code>
            implementation.</p>

<pre><code>
public class PasswordValidator implements ConstraintValidator&lt;Password, PasswordHolder&gt; {

  @Override
  public void initialize(Password c