title: JSF Managed bean and managed property both necessary?
body: <p>I'm new to JSF and was wondering:</p>
  
  <p>If I have a controller that handles all the work for a given page and a bean that holds all the data for said page, is It necessary to have both the </p>
  
  <pre><code>@ManagedProperty(value="#{myBean}") 
  </code></pre>
  
  <p>annotation on the controller and the </p>
  
  <pre><code>@ManagedBean(name="myBean")
  @SessionScoped
  </code></pre>
  
  <p>annotations on the form bean?</p>