JavaServer Faces - Latest Developments

Latest Developments

Facelets (which was designed specifically for JavaServer Faces) was adopted as the official view technology for JSF 2.0. This eliminates the life-cycle conflicts that existed with JSP, forcing workarounds by Java developers. Facelets allows easy component/tag creation using XML markup instead of Java code, the chief complaint against JSF 1.x.

The new JSF developments also provide wide accessibility to Java 5 annotations such as @ManagedBean, @ManagedProperty and @FacesComponent which removes the need for faces-config.xml in all cases save framework extension. Navigation has been simplified, removing the need for faces-config.xml navigation cases. Page transitions can be invoked simply by passing the name of the desired View/Facelet.

Addition of Partial State Saving and DOM updates are part of the built in standardized Ajax support.

The latest JSF release has built-in support for handling resources like images, CSS and Javascript, allowing artifacts to be included with component libraries, separated into JAR files, or simply co-located into a consistent place within the web-application. Includes logical naming and versioning of resources.

JSF 2.0 also includes a number of other changes like adding support for events, RAILS_ENV style development stages and significantly expanding the standard set of components.

Read more about this topic:  JavaServer Faces

Famous quotes containing the words latest and/or developments:

    A pleasant comedy, which paints the manners of the age, and exposes a faithful picture of nature, is a durable work, and is transmitted to the latest posterity. But a system, whether physical or metaphysical, commonly owes its success to its novelty; and is no sooner canvassed with impartiality than its weakness is discovered.
    David Hume (1711–1776)

    The developments in the North were those loosely embraced in the term modernization and included urbanization, industrialization, and mechanization. While those changes went forward apace, the antebellum South changed comparatively little, clinging to its rural, agricultural, labor-intensive economy and its traditional folk culture.
    C. Vann Woodward (b. 1908)