Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSF implementations

 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What are the available JSF implementations?
What is the learning curve?
 
James Holmes
Author
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are 2 main JSF implementations available today:

Sun Reference Implementation
MyFaces

The learning curve should be the same for both as they are written to a specification. MyFaces does add a few extra bells and whistles though that you could learn.

For links to the software visit my JSF resources page at:

http://www.jamesholmes.com/JavaServerFaces/

James
 
Ko Ko Naing
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by James Holmes:

For links to the software visit my JSF resources page at:

http://www.jamesholmes.com/JavaServerFaces/


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...
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks James. Does JSF have any other implementation other than by JSP tags. I read somewhere JSF can been implemented in different ways?
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Cay Horstmann
author
Ranch Hand
Posts: 172
15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Cheers,

Cay
 
Ko Ko Naing
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
David Geary
Author
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Aaron Bartell
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by James Holmes:
There are 2 main JSF implementations available today:

Sun Reference Implementation
MyFaces
...


One more to add onto that list. IBM has a good implementation of the JSF spec that comes packaged with their Websphere Development Studio client IDE.

Here is a good tutorial to look at that gives a small idea of what their IDE has to offer: http://www-106.ibm.com/developerworks/websphere/techjournal/0401_barcia/barcia.html

Note that you get the IDE "free" with your OS/400 compiler license.


Aaron Bartell
mowyourlawn.com
[ December 28, 2004: Message edited by: Aaron Bartell ]
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Aaron Bartell:


One more to add onto that list. IBM has a good implementation of the JSF spec that comes packaged with their Websphere Development Studio client IDE.

Here is a good tutorial to look at that gives a small idea of what their IDE has to offer: http://www-106.ibm.com/developerworks/websphere/techjournal/0401_barcia/barcia.html

Note that you get the IDE "free" with your OS/400 compiler license.


Aaron Bartell
mowyourlawn.com

[ December 28, 2004: Message edited by: Aaron Bartell ]


Baring in mind that if using IBM's implementation you are glued to their development environment. Not necessarily a bad thing but it is something to think about.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic