Oh! It's great that we will have the greatest author of "Struts, The Complete Reference" and "The Art of Java", Mr.James Holmes, here and the authors of Core JavaServer Faces here!!!
BTW, Mr.James, do you have any plan to write JSF book? Some kind of "JavaServer Faces, The Complete Reference" or something? Thanks for being here and answering our doubtful questions on JSF with other authors...
Originally posted by Pradeep Bhat: Thanks James. Does JSF have any other implementation other than by JSP tags. I read somewhere JSF can been implemented in different ways?
You are talking about renderers. You can write a custom renderer that causes JSF to spit out whatever you want. The default is HTML 4.01 but you could do XUL, XSLT, XML, Foo Foo Hooy, whatever. It's very flexable.
Pradeep asks a great question, but AFAIK, there is currently no JSP-free implementation of JSF available. MyFaces is built on top of JSP, just like the RI.
When David and I wrote the JSF book, both of us agreed NOT to position JSF as a JSP extension. We appreciated the fact that JSF is an independent technology that is (at least theoretically) free from the JSP baggage, and that brings Java-based web development to a much broader class of developers.
A JSP-free JSF implementation might have fewer headaches in the lifecycle model and fewer surprises when mixing HTML and JSF tags. But we won't know until someone does it.
Author of <a href="http://www.amazon.com/exec/obidos/ASIN/0131482025/ref=jranch-20" target="_blank" rel="nofollow">Core Java 2, Volume I - Fundamentals (7th Edition)</a>
Ko Ko Naing
Joined: Jun 08, 2002
Originally posted by Cay Horstmann: but AFAIK, there is currently no JSP-free implementation of JSF available. MyFaces is built on top of JSP, just like the RI. ............ A JSP-free JSF implementation might have fewer headaches in the lifecycle model and fewer surprises when mixing HTML and JSF tags. But we won't know until someone does it.
Then do both of you have any plan to do JSP-free implementation of JSF in the future? Since Mr.David is in Expert Group as well, it won't be a big deal to do such implementation, will it? Thanks...
Hans Bergsten, who is also on the JSF EG, has a very rudimentary implementation of an alternative display technology (see Improving JSF by Dumping JSP). I've taken that code and altered it a bit, but I haven't had the time to make substantial improvements.