Win a copy of Head First Android this week in the Android forum!
  • 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 ...
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • Al Hobbs
  • salvin francis

Newbie in JSF

Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

recently i have started to learn JSF, oftenly i have been listening words like facelets,myfaces,tomahawk,trinidad,tobago.

So far i know JSF Reference Implementation only.

I would like to know Is there any diff b/w JSF vs Facelets? if not why facelets word using mostly and at the same time myfaces,tomahalwk why these words evolved?

Please clarify with these new terminologies and whey they differ with JSF?
Saloon Keeper
Posts: 24557
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JSF is an extensible framework. It comes with a set of core tags such as the tags in the "h" (html) and "f" (functional) namespaces. But those tags are pretty basic. They don't provide the sophisticated GUI that most of us love, so it's a common practice to augment them with extension tagsets, such as RichFaces or Tomahawk. These extension tagsets usually offer better AjAX support, compound controls such as ComboBoxes and Shuttle Controls and so forth.

Myfaces is a bit different. is the home of a number of different projects. There's the basic myfaces package, which isn't needed much anymore, since it's functionally equivalent to the Reference Implementation of JSF. Then there's things like Tomahawk that add scrollable table displays and Calendar controls. Trinidad is (if I'm not mistaken) an open-source implementation of Oracle's ADF tagset. Tomahawk is one of the oldest of the extension tagsets, and in some cases, the core JSF implementation now includes capabilities that requires an exension originally.

Facelets is a bit different. JSF in its pure form allows the output to appear in many formats, but Facelets was designed in part to optimize HTML output in particular. It's available as an add-on for JSF 1.x, but it's an integral part of JSF2. It's very useful, although, unfortunately it has also made it possible for people to try and code JSF views as though they were logic components instead of as form templates. That isn't a good thing to do, as it violates MVC rules. And more to the point, makes apps more difficult (and expensive) to maintain.
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic