myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Myfaces Wiki] Update of "JSF and MVC" by SimonKitching
Date Tue, 05 Feb 2008 20:40:42 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.

The following page has been changed by SimonKitching:

  You will of course have noticed that while the effect is similar to older web-application
frameworks like Apache Struts, the approach is somewhat different. The HTML and Web are abstracted
away to a great extent. This allows a number of nice features, like being able to simply change
configuration to render HTML, XHTML, WML, and potentially things like PDF or Mozilla-XUL.
+ Another nice feature that results from this design is that it is easy to add more types
of components (widgets). Simply add a library into the classpath, update your views to reference
some of these new components, and if necessary attach callbacks to handle the actions that
these components can trigger. The !MyFaces Tomahawk, Trinidad and Tobago libraries are component
collections that can be used in exactly this way to enhance your JSF applications, and there
are more libraries available from many sources.
  One of the issues that people notice when moving from more html-centric frameworks to JSF
is that there is some loss of control over exactly what urls are generated, what appears in
the query parameters, etc. Part of this is due to handling over of control of these aspects
to a framework rather than directly managing it; other parts are due to the fact that JSF
is still a reasonably young technology and still has a few rough edges. And partly it is due
to the fact that JSF is optimised for very interactive applications; it can do things that
are extremely complex to do with other approaches, but does not always perform quite as elegantly
in the simpler cases.

View raw message