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
ADFBindingFilternamed in theweb.xmlfile. - 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.xmlfor the page. - The binding context creates the binding container by loading the
file as referenced by theelement in theDataBindings.cpxfile. - The
adfm.xmlfile loads theDataBindings.cpxcontents and finds the rightPageDef.xmlbased on theelement reference to theelement. - The binding container's
prepareModelphase prepares and refreshes all relevant executables (most are markeddeferredby 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.xcfgfile. - The binding container also creates the bindings defined in the
section of thepagenamePageDef.xmlfile 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