The programmer should create a new XML file and put the managed beans detail inside and declare the XML file in the javas.faces.CONFIG_FILES. This is done to initialize the parameters which are there inside the WEBINF/web.xml. file.

BY Best Interview Question ON 24 Mar 2019