There are several approaches to choose from when creating new Java EE 7 application.
JSP
JSF (Facelets)
plain HTML 5 + JavaScript
???
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.
UPDATE 1: Also, what would be the best technology to use if the app should be as much cross-platform
(i.e. desktop browsers, mobile browsers, etc.) as possible.
UPDATE 2: If nowadays almost everyone knows HTML and JS with its frameworks - why then to use JSP or JSF?