title: what to use, managed beans (backing beans) or entity beans?
body: <p>I see a lot of examples marking beans as entity beans (@Entity) &amp; named beans (CDI), so as to avoid creating 2 classes (managed bean &amp; entity bean) and also to make use of Bean Validation so that validation can be performed on both client &amp; server.</p>
  
  <p>So should I be using a single class or not, are there any issues or should I be having my managed beans or service layer create entity beans using the data from managed beans ?</p>