MyFaces Aligns With the JSF 2.0 Standard
Join the DZone community and get the full member experience.Join For Free
Check out this 8-step guide to see how you can increase your productivity by skipping slow application redeploys and by implementing application profiling, as you code! Brought to you in partnership with ZeroTurnaround.
JSF 2.0 Event Model
Developers can also harness composite components, which generate a complete JSF component using a Facelet. This feature makes component creation much easier than in past JSF implementations. It's also easier to integrate view declaration languages (VDLs) in MyFaces 2.0.
The new project stage variable (comparable to rails_env) is another productivity feature that uses values like Development, Production, UnitTest, and System Test to tell the framework the current stage of the project. For each of these values, developers will be able to access information that is relevant to that stage. You can also save URL's as bookmarks in MyFaces 2.0. In addition, request parameters can be handled much like entry components and you can work exclusively with GET requests via <h:link> and <h:button>.
MyFaces 2.0 adds support for a variety of standard APIs including error handling, loading resources, bean validation, and system events. Developers will also find that there's less XML config work to be done. Annotations such as @ManagedBean and @SessionScoped are now supported in MyFaces 2.0. Finally, the release rounds out with improved component status storage, view and flash scopes, and expanded navigation features.
The full change list can be found here.