What is JSF, JavaServer Faces?

What is JSF, JavaServer Faces?

a. JavaServer Faces (JSF) is a server side Java technology, developed by Sun Microsystems, in the field of web application development.
b. It eases the construction of user interfaces and provides the event-driven, component-based technology.
c. The JSF specification has standard UI components and provides an API for developing components and extensions of the existing standard UI components.

Explain the JSF life cycle.

The JavaServer Faces page is similar to JSP page in terms of their life cycle.
When user makes a request, the life cycle of a JSF web application, starts.
Several tasks are performed by JSF when a user submits a page. These tasks include data validation, data type conversion, etc.

A JSF application supports two kinds of responses and two kinds of requests.

Faces response:
Request processing life cycle creates a servlet response by the execution of the Render Response Phase of the.

Non-Faces response:
A servlet response is not created by the execution of the render response phase.

Faces request:
A servlet request is sent from a previously generated Faces response. E.g.: The request URI in the form submission from a JSF UI component, identifies the JSF component tree to use for processing the request.

Non-Faces request:
A servlet request is sent to an application component, such as a servlet or JSP page, rather than directed to a JavaServer Faces component tree.

The steps in the life cycle of a JSF application are:
1. Restore View Phase
2. Apply Request Value Phase
3. Process Validations Phase
4. Update Model Value Phase
5. Invoke Application Phase
6. Render Response Phase
Explain each web service technologies - SOAP, WSDL, UDDI, eBXML and JAX pack
Web service technologies - SOAP, WSDL, UDDI, eBXML and JAX pack - SOAP: Simple Object Access Protocol is a protocol that is used to exchange structured information at the time of implementing a web service....
Technologies included within JAX pack, i.e. JAXP, JAXB, JAXM, JAX-RPC, JAXR
JAX pack technologies - JAXP: Java API for xml processing. It provides the validation capability and parsing XML documents...
Explain the web services architecture
Web services architecture - The operations between different software applications, which are running on a variety of platforms and frameworks are supported by a standard called Web services....
Post your comment