How to configure managed bean in the xml file?



How to configure managed bean in the xml file?..

Answer / Roopendra Kumar

To configure a Managed Bean in an XML file, you should define it in the faces-config.xml file using the <managed-bean> element. The configuration includes setting name, class, and scope attributes.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Java Server Faces (JSF) Interview Questions

What are the requirements for using integrated jsf using jdbc?

1 Answers  


What is javaserver faces ui component class?

1 Answers  


What is a backing bean?

1 Answers  


What is the standard jsf tag library?

1 Answers  


What is the lifecycle of facelets application in jsf (javaserver faces)?

1 Answers  


Mention some of the validator tags used in JSF?

1 Answers  


Can we have a jsf application without faces-config.xml?

1 Answers  


What are the differences between a Backing Bean and Managed Bean?

1 Answers  


How can we obtain the generated event?

1 Answers  


what does JSF-Managed Bean?

1 Answers  


What is javaserver faces validation model?

1 Answers  


How to access js (javascript) file in jsf (javaserver faces) application?

1 Answers  


Categories