Java Server Faces or JSF: It is a java based web application framework to Top 14 JSF Interview Questions & Answers . Download PDF. Top 14 JSF Interview Questions & Answers. 1) Explain what is JSF or Java Server Faces? Java Server Faces or JSF: It is a java based web application. + Javaserver Faces (jsf) Interview Questions and Answers, Question1: What is JSF (or JavaServer Faces)? Question2: What are the advantages of JSF?.

Jsf Interview Questions Answers Pdf

Language:English, French, Japanese
Genre:Politics & Laws
Published (Last):18.09.2016
ePub File Size:21.72 MB
PDF File Size:9.44 MB
Distribution:Free* [*Register to download]
Uploaded by: ODETTE

I have written a lot on JSF framework recently, so it's high time I write one on JSF interview questions and answers. Below is my collection of JSF interview. JSF interview questions: JSF (Java Server Faces) is a Posted in Interview Questions, tag libraries. Download JSF Interview Questions PDF. Articles Tutorials Interview Questions & Answers Certifications Free Books JavaServer Faces Interview Questions What is JSF (or JavaServer Faces)? JavaServer Faces (JSF) is an industry standard and a framework for building.

JSF bean scopes. The faces-config. It can be used to configure the following: Used to configure managed beans. Used to configure convertors. Used to configure validators. Used to configure navigation.

25 TOP Real Time JSF Interview Questions and Answers pdf download

JSF configuration files. Navigation in programming is way of transferring the control from one view to another. Navigation rules in JSF framework: JSF framework defines some navigation rules based on those view is render after an action is performed.

A navigation rule can be defined in JSF configuration file faces-config. JSF 2 framework provides the facility of implicit navigation for which no need to define navigation rules. Types of navigation in JSF framework: JSF implicit navigation rule. JSF conditional navigation rule. JSF from-action navigation rule.

JSF page redirect rule. JSF navigation rule. The ManagedProperty annotation is used for injecting a bean into a property of another bean. The ManagedProperty annotation uses setter method of the bean which is used as a property into another bean.

JSF Interview Questions and Answers

So we must have to provide setter method of that property. Value attribute contains the name of the bean to be injected.

JSF managed property annotation. JSF converter tags: JSF provides inbuilt convertors to transform the UI component data from strings to Java objects used in a managed bean and vice versa.

For example a date object is represented by a text string on web form which can be converted back to the date object by using converters. JSF converter tags. JSF validator tags: JSF provides inbuilt validators to validate the UI component data.

JSF validators can validates length, type, format etc. JSF validator tags. JSF event handling: In JSF when a button is clicked or change value in text filed etc then corresponding JSF component create an instance of the corresponding event class and adds the event to the event list. After adding the event in the event list JSF component call the corresponding listener or handler method.

JSF also provides the facility to handle the application level events which happens when application start or stop. JSF Events:.

JSF custom tag example: JSF provides the facility to create custom tag to render a pre-defined content. Steps to create the JSF custom tag: Declares and define the custom tag details in a tag library descriptor.

Register the tag library descriptor in the web.

People who read this, also read:-

Jsf custom tag. JSF provides the facility to create reusable custom components also known as composite components. Below are the steps to create composite components in JSF. Steps to create and use the JSF composite components: First create a resources folder. Create an xhtml file in resources folder and declared the composite namespace. Uses composite tags composite: What are some ways to declare a class a managed JSF bean? How are the name and eager attributes used in Managed Bean?

What tags for validation exist in JSF? What are the benefits of using the JSF Framework? What different JSF tags are used for conversion?

JSF Interview Questions

List the benefits of using an expression language? Explain the name backing bean. What standard JSF tag libraries do you know? What are the main functions of the method in backing bean? Explain the JSF architecture. How are the various components rendered on the JSF page?

Can JSF contain multiple configuration files? What is the difference between backing bean and managed bean? How to display error messages in JSF?

Explain the purpose of the selectOne menu tag in JSF. Explain the difference between the attributes immediate and rendered? What are two ways to bind JSF supported? What is the minimum configuration required for a JSF application?

What does navigation rule mean in JSF? Tell us about the purpose of the converter tags in JSF. List the benefits of a data table in JSF. Which rendering model is used in JSF? What is a render kit?

Javatpoint Services

What is a view object? What is meant by Bean Scope? Can there be no faces-config.Name several facelets tags. What are the benefits of using the JSF Framework?

The convertNumber tag has several attributes that allow you to specify the format and type of the data. The following steps describe that process to a Facelets-based application. This includes validation, rich component model and lifecycle, more sophisticated EL, separation of data, navigation handling, different view technologies instead of JSP , ability to provide more advanced features such as AJAX, etc. What is JavaServer Faces conversion model?

Explain JSF lifecycle phases.

KARIE from Independence
I do like reading books absentmindedly . Please check my other articles. I take pleasure in scrabble.