• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JSF implementations

 
Ranch Hand
Posts: 8945
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What are the available JSF implementations?
What is the learning curve?
 
Author
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 8945
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author
Posts: 284
35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
Author
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic