JSF 2 new features
Facelets
- Helps in designing the UI pages without using JSP
- facilitates templates
Composite Components
- Easy to define custom components only with XHTML and TLD definition
AJAX Support
- built-in AJAX support and can be added to any UI components by just added <f:ajax> tag
New Navigation rules
- Implicit Navigation (Navigation without navigation rules in faces-config.xml)
- Conditional Navigation (define pre-conditions for navigation rules in faces-config.xml using EL)
- Preemptive Navigation (More control over navigation rules using ConfigurableNavigationHandler API)
Annotations
- Can define Managed bean name and scope
- Component annotations like @FacesComponent, @FacesRenderer, etc., to design custom component
- Hibernate has release annotations that work with JSF for Bean Validation
Ref: http://en.wikipedia.org/wiki/JavaServer_Faces
No comments:
Post a Comment