Explain different ways of declaring a managed bean in JSF?
Answer / Anurag Lohant
"Managed beans can be declared using several methods in JSF: 1. Annotation (using @ManagedBean and @SessionScoped, @RequestScoped, or @ApplicationScoped), 2. XML Deployment Descriptor (web.xml) - using <managed-bean> tag."
| Is This Answer Correct ? | 0 Yes | 0 No |
What is JSF?
How to access web.xml init parameters from JSP page?
What do you mean by bean scope?
What are the benefits of jsf (javaserver faces)?
What are standard JSF tag libraries?
What is the difference between jsp and jsf?
How are the various components rendered on the jsf page?
How to validate managed bean in jsf (javaserver faces)?
List some advantages of facelets.
Can we integrate jsf with other popular frameworks like spring, hibernate, etc.?
Explain value expression and method expressions?
What is view object?