• Post Reply Bookmark Topic Watch Topic
  • New Topic

With JSF 2.0 JSP is dead  RSS feed

 
leo donahue
Ranch Hand
Posts: 327
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

With JSF 2.0 JSP is dead. - Rainer Eschen Quote from JSF forum


Rainer,

Would you please expand on what you mean by that?

In terms of presentation, dead meaning irrelevant? Not used? Not as useful as?
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That book promotion ended last week, so Rainer Eschen may not see this post.

Given that JSF has a far smaller market penetration than JSP, I find that statement to be lacking in logic. I don't see why this should change with a new version of JSF. Since JSF 1.x came out, many developers have moved on from pure JSPs to any number of other web frameworks; it is unlikely that many will return now. JSF has not been a smashing success; if Sun hadn't pushed it hard, it might not have gotten anywhere near as far as it has.
 
Tim Holloway
Bartender
Posts: 18720
72
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The statement is absurd. JSF's claim to fame is that it's an immensely powerful framework for doing MVC-style work in a web application. However, not every component of a web application needs that, and in extreme cases, the extra overhead of JSF might even mandate falling back to raw JSP. Although I seriously don't recommend trying that unless there's a measurable improvement, since the maintainability of the code will be the cost of the (possible, but not guaranteed) higher performance.

Also, there are certain things that cannot be JSF, such as container-managed login pages. Views presented by the appserver rather than the application don't get routing through the FacesServlet (or for Struts, the Struts servlet), and therefore the only alternatives are either simple JSP's or plain-vanilla HTML's.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!