InterviewSolution
| 1. |
What Makes A Backing Bean Is The Relationship It Has With A Jsf Page; It Acts As A Place To Put Component References And Event Code. |
|
Answer» Backing Beans :
Managed Beans :
Backing Beans should be defined in the request scope, exist in a one-to-one relationship with a particular page and hold all of the page specific event handling code.In a real-world SCENARIO, several PAGES may NEED to share the same backing bean behind the scenes.A backing bean not only contains view data, but also behavior related to that data.
Backing Beans : Managed Beans : Backing Beans should be defined in the request scope, exist in a one-to-one relationship with a particular page and hold all of the page specific event handling code.In a real-world scenario, several pages may need to share the same backing bean behind the scenes.A backing bean not only contains view data, but also behavior related to that data.
|
|