Searching...
Wednesday, 12 June 2013

What is new in JSF 2?

09:35

JSF 2 new features

Facelets

  1. Helps in designing the UI pages without using JSP
  2. facilitates templates

Composite Components

  1. Easy to define custom components only with XHTML and TLD definition

AJAX Support

  1. built-in AJAX support and can be added to any UI components by just added <f:ajax> tag

New Navigation rules

  1. Implicit Navigation (Navigation without navigation rules in faces-config.xml)
  2. Conditional Navigation (define pre-conditions for navigation rules in faces-config.xml using EL)
  3. Preemptive Navigation (More control over navigation rules using ConfigurableNavigationHandler API)

Annotations

  1. Can define Managed bean name and scope
  2. Component annotations like @FacesComponent, @FacesRenderer, etc., to design custom component
  3. Hibernate has release annotations that work with JSF for Bean Validation

 

Ref: http://en.wikipedia.org/wiki/JavaServer_Faces

0 comments: