Below figure demonstrates the hierarchical relationship of the XML metadata files that you might work with in a Fusion web application that uses an ADF Business Components application module as a service interface to JSF web pages
The below figure illustrates the hierarchical relationship of the XML metadata files that you might work with in a web application that uses an ADF application module as a service interface to ADF Business Components. At runtime, the objects created from these files interact in this sequence:
- When the first request for an ADF databound web page occurs, the servlet registers the Oracle ADF servlet filter
ADFBindingFilter
named in theweb.xml
file. - The binding filter creates an empty binding context.
- When a page is rendered, the binding filter asks the binding context to load a corresponding
PageDef.xml
for the page. - The binding context creates the binding container by loading the
file as referenced by the
element in theDataBindings.cpx
file. - The
adfm.xml
file loads theDataBindings.cpx
contents and finds the rightPageDef.xml
based on the
element reference to the
element. - The binding container's
prepareModel
phase prepares and refreshes all relevant executables (most are markeddeferred
by default). - An iterator binding gets executed by referencing the named method on the data control found through the data control factory named in the case of ADF Business Components in the
bc4j.xcfg
file. - The binding container also creates the bindings defined in the
section of thepagename
PageDef.xml
file for the mapped web page. - The web page references to ADF bindings through EL using the expression
#{bindings}
are resolved by accessing the binding container of the page. - The page pulls the available data from the bindings on the binding container.
Dig more:
No comments:
Post a Comment