title: Passing a JSF2 managed pojo bean into EJB or putting what is required into a transfer object
body: <p>Currently i am calling <code>EJB 3</code> Session Beans from <code>JSF 2</code>. However, i am not sure if i should be passing JSF managed beans into EJB?</p>
  
  <p>Assuming that whatever on the form (and thus the backing bean) was everything i needed to persist through the EJB layer, should i clone out all the attributes by hand into a transfer object, or is there a better way of doing this?</p>
  
  <p>The backing bean though <code>POJO</code> is heavily annotated with JSF lifecycle tags (Such as <code>@ManagedBean</code>) and resides in the <code>Web project</code> while the EJBs reside separately in the <code>EJB project</code>.</p>