title: Choose appropriate UI technology in Java EE application
body: <p>There are several approaches to choose from when creating new <strong>Java EE 7 application</strong>.</p>
  
  <ol>
  <li><p>JSP</p></li>
  <li><p>JSF (Facelets)</p></li>
  <li><p>plain HTML 5 + JavaScript</p></li>
  <li><p>???</p></li>
  </ol>
  
  <p>The question is - please, show the conditions when it is better to use one or another UI technology, what are the pros and cons of using each of them, unique and cool features of the technology, in a couple of words, to make a complete picture inside my head. Sorry if this question seems you stupid. Thank you.</p>
  
  <p><strong>UPDATE 1:</strong> Also, what would be the best technology to use if the app should be as much <code>cross-platform</code> (i.e. desktop browsers, mobile browsers, etc.) as possible.</p>
  
  <p><strong>UPDATE 2:</strong> If nowadays almost everyone knows HTML and JS with its frameworks - why then to use JSP or JSF?</p>