Explain JSF technologies, i.e. Apache Tomahawk, Facelets, Shale, and Seam

Explain JSF technologies, i.e. Apache Tomahawk, Facelets, Shale, and Seam.


Apache Tomahawk:
A series of JSF components are provided by MyFaces Tomahawk. Tomahawk provides several custom components that are 100% JSF compatible components. It is easier to implement JSF projects with Tomahawk. The extended functionalities are – improved inputText components, Converter interfaces and solutions to use JSF and Tiles together.

Facelets:
The JSF and JSP are aligned in a web application; Facelets provides a high performance JSF-centric view which is the outside of JSP specification. The designing of Facelets are similar to that of JSP creation. The difference between these is that, the entire JSP vendor API is removed and enhances the JSF performance which provides easy plug-and-go development.

Shale:
Shale is a framework for web applications, based on JSF. Shale architecture includes a set of loosely coupled services which can be combined to meet specific application requirements. The additional functionality provided by Shale - application event callbacks, dialogs with conversation-scoped state, a view technology named Clay, annotation-based functionality. These functionalities will reduce the requirement of configuration and provides support for remote computing. Other framework links for integration is provided by Shale, which eases the combined technology based development.

Seam:
Seam is a framework for web application, which combines the existing popular frameworks – EJB and JSF. A back-end component of an enterprise (EJB) can be accessed by the front-end by addressing its name of the Seam component.

The concept of ‘context’ is expanded by Seam. The context contains each Seam component. The context of a session captures the actions of all logged in users until he logs out. A command line tool seam-gen can be used to automatically generate the actions – create, read, update, delete (CRUD) of a web application. The integration of Seam can be with JBOSS, RichFaces or ICEFaces AJAX libraries.

Explain JSF technologies, i.e. Apache Tomahawk, Facelets, Shale, and Seam.

Apache Tomahawk:

1. MyFaces provides a series of JSF components that go beyond the JSF specification.

2. These components are 100% compatible with the Sun JSF 1.1 Reference Implementation (RI) or any other JSF 1.1 compatible implementation.

3. The custom components can also be used with the Apache MyFaces JSF implementation.

Facelets:

1. Unlike JSP, Facelets is a templating language built from the ground up with the JSF component life cycle in mind.
With Facelets, you produce templates that build a component tree, not a servlet.

2. This allows for greater reuse because you can compose components out of a composition of other components.

Shale:

1. Shale is a modern web application framework, fundamentally based on JavaServer Faces. Architecturally, Shale is a set of loosely coupled services that can be combined as needed to meet particular application requirements.

2. Shale provides additional functionality such as application event callbacks, dialogs with conversation-scoped state, a view technology called Clay, annotation-based functionality to reduce configuration requirements and support for remoting.

3. Shale also provides integration links for other frameworks, to ease development when combinations of technologies are required.

Seam:

1. The JBoss Seam framework is designed to take care of the plumbing between existing frameworks including EJB 3.0, JSF, and BPM.

2. The Seam stateful component model makes it a breeze to develop sophisticated stateful web applications.
JSF life cycle
JSF life cycle - The life cycle of JSF is similar to JSP. A JSF page is represented by the UI components which are in tree nature...
JSF and AJAX
JSF and AJAX - AJAX and JSF together makes a rich web application. AJAX usage is focused on creating richer user interfaces..
JSF Ajax components
JSF Ajax components - The custom web tier components for JSF can be developed using AJAX along with JSF...
Post your comment