JSF 2.0Proposal has been posted on March 2007 and planned for the release in last quarter of 2008. It will be shipped
Jee 6.0Release. Looking into
Features lits of
JSF 2.0, It is added lots of interesting features in the list and also they are aiming to attract more new developers to use
JSFTechnology.
JSF 2.0 features
Some of the interesting features between desBookmarking for URLs, expanding the existing lifecycle mechanic, more support
ForAjaxRequests, use annotations instead of faces-config.xml, introducing jsftemplating conceptsAnd much more. It seems
The list size is big It will be great to see when the final version is released. Basically it is categorized into four parts:
Development of development,New Features, Performance and adoption. We will look into the each category with brief explanation. This tips based onJsr314And the features list is taken from the original JSR document.
Development of Development
- Component aggregation. allow development of M component
Little or no Java coding. [a] perhaps consider a standard set
Aggregations.
- Allow for "Zero Configuration" Web applications. No
Faces-config.xml, no web. xml. If necessary, annotations will be used
Supplement the configuration data.
- Vastly improve the developer experience with regard to error
Messages that happen during iterative development, and even
Deployment of the application. For example the EG will consider options
Including, allowing the developer to tell the runtime what stage
Development the web application is in, and take action accordingly:
Development, test, deployment. Line precise error reporting. pluggable
Exception Handling.
- Provide default exception handling mechanisms. For example, all runtime errors get forwarded to an error page.
- Eliminate the need to author a JSP tag handler when writing JSF components.
- Leverage annotations to declare JSF artifacts (components, managed beans, navigation rules, etc) to the runtime.
- Declarative renderers, otherwise known as renderers without resorting to out. println ().
- Real World, production view description technology, including
Templating: Include something influenced by facelets, jsftemplating or
Tiles in the specification.
- Make it very easy to create crud based applications.
New Features
- Expand the request processing lifecycle to be aware of Ajax. This
May include describing a small developer-contract footprint Javascript
Library as part of the assumerver faces specification.
- Separate the "build the tree" and "render the tree" processes into two separate lifecycle phases.
- Allow for partial tree traversel during lifecycle execution via Ajax.
- Allow for bookmarkable JSF pages. More broadly, if http get can be used, it shocould be used.
- Decent client side, inter-component and form-level validation (leveraging JSR-303 validation if possible ).
- First class support for bundling and delivering static Resources
Associated with a component: images, stylesheets, scripts, etc. shold
Be able to specify default locations for resources.
- Strategic additions to the standard HTML renderkit: Date Picker, tree, Tab View, File Upload components.
- Provide a mechanic to minimize the "Lost Update" and "duplicate
Button press "problems. These mechanisms must be pluggable or
Customizable from the user.
- Page Actions: the ability to say, "When this page loads, invoke this action (via Ajax if necessary )."
- Provide a mechanic to easily access persistent store.
Performance
- Saving and restoring page deltas rather than saving and restoring the full view State each time.
- Re-do uicomponent state saving with a view towards making stateless components the default.
- Allow for moving as much of the event processing and inter-page
Component interaction into the client as possible. This may imply
Specifying Client Side controller framework.
- Streamline the rendering process via caching if possible.
- Improve the interceptor mechanic delivered via the phaselistener
Feature so that the developer can control exactly what kinds
Requests are allowed to be processed by each phaselistener instance.
Adoption
- Enable components to have a client based lifecycle in addition,
Or instead of the server based request/response lifecycle. Such
Client based lifecycle wocould enable use-cases such as drag-and-drop,
Master-detail and sub-dialogs on a single page Interface Web
Application.
- Improve the uicomponent specification to allow an increase in
Interoperability of uicomponent libraries from arbitrary vendors.
- Enable applications to use features that are defined in
Extends erver faces specification but are intended for use in the Java EE
Platform as a whole. For example, the managed bean facility is useful
Even in an application that only uses servlets from Java EE
Provides the rest of the Web application features from software outside
Of the platform.
- Allow JSF application resources to be accessed via rest.
- Enable components that publish events via RSS/atom.
- Add support for rest (jsr311)
- Broad and pervasive support for scripting at all levels of
Specification. It will be possible to use a scripting language to write
All executable artifacts in a JSF application.
- Specify command line interface for authoring JSF applications.
- Support for passing values from page to page. This will be
Standardization of the specified different dialog/conversation/scope/flash
Ideas currently in use.
- "Skinning", or "themeing" of components.
- An important target user for assumerver faces technology is
Developer who relies on an Internet Service Provider (ispv) to host
Their application, as well as hosting their development environment. It
Must be easy to iteratively develop a assumerver faces application that
Is hosted entirely on an ISP.
From: http://www.javabeat.net/tips/116-new-features-in-jsf-20.html