Explain @viewscoped, @sessionscoped, @customscoped and @requestscoped annotations?
Answer / Anand Kumar Sagar
"@ViewScoped is used to create a bean that has its lifecycle associated with the current view (JSF component tree).n@SessionScoped creates a bean whose lifecycle is bound to the HTTP session. It means it persists across requests but not across sessions.n@CustomScoped allows developers to define a custom scope of managed beans by implementing the javax.faces.context.ExternalContext interface and registering the custom scope with the FacesContext object.n@RequestScoped creates a bean whose lifecycle is bound to the current HTTP request. It means it does not persist across requests."n
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain the difference between the attributes immediate and rendered?
Can the JSF support multiple faces configuration files?
What is a render kit?
What are the main functions of the method in backing bean?
What are the standard converters in jsf (javaserver faces)?
What is javaserver faces navigation model?
How to validate managed bean in jsf (javaserver faces)?
What is jsf and why it is used?
Explain the working of render phase in jsf.
What is the difference between instant and deferred expressions?
What is the difference between jsf and jsp?
What is h:inputfile tag in jsf (javaserver faces)?