This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Originally posted by Moniphal Say: Could you tell the differences between the two (JSF and JSF)?
These two are exactly same. Its quite visible.
I guess you asking the difference b/w JSF and JSP. So, there is no comparison between these two because JSF is a framework like Struts, Spring, Tapestry, etc. whereas JSP is a server-side technology. Hope this will clear your doubt.
Joined: Aug 11, 2004
Originally posted by Adeel : These two are exactly same. Its quite visible.
I'm sorry, it was typing mistake .
Thanks alot for your prompt reply, it's cleared my doubt. So JSF uses JSP as its display tecnology. [ September 12, 2006: Message edited by: Moniphal Say ]
Joined: Aug 15, 2004
Originally posted by Moniphal Say: So JSF uses JSP as its display tecnology.
JSF can use a number of display technologies (JSP or WML or xHTML or ...). One major advantage of JSF is that the display technology is pluggable. You can plug a different render kit into the same page to change its display from html to wml, i.e. the page itself remains coded the same, but way that page is converted to a display has changed.
You got it exactly right. Chapter 10 provides examples on how to build custom components that generate markup other than HTML.. It shows how to build a WML inputdate component as well as an SVG chart example..
Using IBM Rational Software Architect, a large, very capable and quite expensive Plug-In to Eclipse providing GUI JSF development (and much more) capability, I have built an entire JSF application, with Oracle back-end, without ever _seeing_ even a single line of code, let alone writing one, and not knowing or caring how it displays anything. I haven't the foggiest of notions how it does anything, though I know (from my expert associates) that it generates absolutely standard JSF.
The application works perfectly, though I have not put any security/login process in it.
I took me a while to learn how to do this, but now I can build such an application, with three or four screens, pretty much from scratch in a day or so, and it's both stable and maintainable.