• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

identifying the need of JSF over JSTL/EL

 
Jitesh Sinha
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I see this question in Mark Cade and Humphrey Sheil's book- chapter 3 :-


You have been asked to evaluate multiple web presentation technologies for ABC Corp.Their priorities are future-proofing, tooling support from IDEs and the ability to render multiple versions of the same component for different devices. What do you recommend toABC?
A)Use JSF components as part of a Servlet.
B)Use JSTL and the EL as part of JSP pages
C)Use JSF components as part of JSP pages.
D)Use JSTL and the EL as part of Servlets.


WHy is answer C correct and is better than B?The way answer is explained in the book ,it seems future-proofing and tooling support cannot be achieved by JSTL/EL?Any idea why?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34965
378
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JSF has more tooling support than JSTL/EL. Yes, IDEs have autocomplete for JSTL/EL. But JSF is richer so it is possible to have more advanced features. And IDEs do.

It's not that JSTL/EL can't have tooling support. It's that JSF can have more of it.
 
Jitesh Sinha
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Jeanne!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic