Totel:9 Click:
1
2
JSF Interview Questions And Answers
Page 1
Questions 1 How many step the JSF life-cycle are completed?
Answer
There are six phases of the JSF application lifecycle
1. Restore view
2. Apply request values; process events
3. Process validations; process events
4. Update model values; process events
5. Invoke application; process events
6. Render response
Questions 2 How URL String help to pass a parameter in the JSF application?
Answer
if suppose that we have any URL: http://r4r.co.in/java/project.jsf?id=777, we are tring to access the passing parameter id with the following lines of java code.
FacesContext fct = FacesContext.getCurrentInstance();
String id = (String) fct.getExternalContext().getRequestParameterMap().get("id");
Questions 3 What are advantage of the JSF?
Answer
1. JSF also supports internationalization and accessibility
2. Render kit support for different clients
3. Component-level control over statefulness
4. Robust event handling mechanism.
5. Highly 'pluggable' - components, view handler, etc
6. Events easily tied to server-side code and many more.
Questions 4 How many part JSF is devided?
Answer
1. A set of prefabricated UI components.
An event-driven programming model.
A component model that enables third-party developers to supply additional components or plug-in.
Questions 5 How many services are provided by JSF?
Answer
1. Data Conversion
2. Validation
3. Error Handling
4. Model-View-Controller Architecture
5. Custom Components
6. Internationalization
7. Alternative Renderers
Goto Page:
1
2
JSF Objective Questions And Answers
JSF Objective Questions And Answers
JSF Interview Questions And Answers
JSF Interview Questions And Answers
R4R,JSF Objective, JSF Subjective, JSF Interview Questions And Answers,JSF,JSF Interview,JSF Questions ,JSF Answers