title: Java custom annotation
body: <p>I want create a custom annotation to validate an attribute in my ManagedBean 
  for exemple <code>@StartWithUpperCase</code></p>
  
  <pre><code>public @interface StartWithUpperCase{
      // 
  }
  </code></pre>
  
  <p>and im manegedBean class i use my annotation like :</p>
  
  <pre><code>public class myBean implements java.io.Serializable{
    @StartWithUpperCase
    @NotNull
    private name;
  }
  </code></pre>
  
  <p>how I can do it.</p>