In which two places do you configure managed beans?
A.
In the page definition file
B.
In the faces-config.xml file
C.
In the adfc-config.xml file
D.
In the Property Inspector
E.
In the task flow definition files
Explanation:
http://docs.oracle.com/cd/E12839_01/web.1111/b31973/gs_jdev.htm#CCHIAHAD
(topic 2.6.1)
A,C
B,C
C,E
“As a general rule for Fusion web applications, a bean that may be used in more than one page or task flow, or one that is used by pages within the main unbounded task flow (adfc-config), should be registered in the adfc-config.xml configuration file. A managed bean that will be used only by a specific task flow should be registered in that task flow’s definition file. There should be no beans registered in the faces-config.xml file.”
Managed Bean Configuration in :
adfc-Config.xml (Managed Bean Section)
faces-Config.xml (Managed Bean Section)
Managed Bean Configuration in :
adfc-Config.xml (Managed Bean Section)
faces-Config.xml (Managed Bean Section)
B , C
CE
CE
AFAIK, faces-config.xml should be consider in a JSF approach. In ADF, taskflow definitions also known as a bounded taskflows and adfc-config as a unbounded taskflows.
Sparity@ answer is C & E
In ADF we configure Managed beans in adfc-config.xml and in task-flow definition file,
bcoz faces-config.xml is not recommended to configure in adf but recommended inJSF,
pagedef file is used for bindings not for managed beans,
property Inspector is used to setthe properties for UI components..etc
adfc-config.xml file
task flow definition files
C and E
Because that!
faces-Config.xml (Managed Bean Section)
adfc-Config.xml (Managed Bean Section) and is an task flow definition file.
B and C
B and E, aff