What is the significance of name and eager attributes in managed bean?



What is the significance of name and eager attributes in managed bean?..

Answer / Rinshu Kanaujiya

"The 'name' attribute is used to give a unique identifier to a Managed Bean, allowing it to be accessed from the JavaServer Faces application. The 'eager' attribute determines whether the bean is created and initialized as soon as it is loaded or only when it is first used (lazy loading). "

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Java Server Faces (JSF) Interview Questions

What is resource bundling in jsf?

1 Answers  


Explain the difference between the attributes immediate and rendered?

1 Answers  


Explain the different kinds of bean scopes in jsf?

1 Answers  


Can we integrate jsf with other popular frameworks like spring, hibernate, etc.?

1 Answers  


What are the facelets templates?

1 Answers  


What different jsf tags are used for conversion?

1 Answers  


How does execution phase work in jsf (javaserver faces) lifecyle?

1 Answers  


What are the requirements for using integrated jsf using jdbc?

1 Answers  


how you can call multiple listeners in JSF?

1 Answers  


Explain immediate and rendered attributes?

1 Answers  


What is f:validatedoublerange tag in jsf (javaserver faces)?

1 Answers  


What is JSF?

1 Answers  


Categories