JDeveloper provides the Oracle Application Development Framework (Oracle ADF) that implements many of the J2EE design patterns for interactive Model 2-style applications. One of the central features in Oracle ADF is a data binding layer that uses a standard declarative way to bind data from a business service, such as web services, EJB, JavaBeans, and Oracle ADF Business Components, to UI components, such as UIX components and standard HTML elements.
To create UIX pages that handle page navigation within the pages (Model 1), the recommended approach is to work with the Data Control Palette and design the page using databound UI components provided by the Oracle Application Development Framework (Oracle ADF) bindings. See Working with the Oracle Application Development Framework for details about the Oracle ADF data controls and the design time support for working with web pages and data controls in JDeveloper.
When you create Model 1 style ADF UIX pages for Oracle ADF:
Your pages work with the Oracle ADF data controls to access any supported business service, including ADF Business Components.
Your application uses the Oracle ADF lifecycle to provide the "hooks" needed to connect the action of a UIX page to the business service.
See Creating a Model 1 Style Web Page with Oracle ADF.
To create databound UIX pages that rely on the Struts controller for page navigation (Model 2):
You can work with the Struts Page Flow Modeler to visual create page flows using the Oracle ADF Data Action to provide the data binding context
See Creating a Struts-based Web Application with Oracle ADF.
Note: BC4J UIX XML tags (tags with the bc4j:
prefix) are still supported in JDeveloper 10g. You can run existing pages
containing these tags, and you can add new tags to your pages from the
component palette. The recommended approach for developing new UIX
pages, however, is to use UIX XML; and to create databound UIX pages the
recommended approach is to use Expression Language (EL) in your UIX XML
pages. If you add components to a new UIX page using ADF databinding and
the Data Control Palette, you are automatically using the new,
recommended tags. Note that you cannot mix deprecated and new-style tags
in a single page.
About the Page Flow in
Databound Struts Applications
About the Model Attribute
Data Binding a Component Attribute
Working with Web Application Design Tools
For information about the Oracle ADF lifecycle:
For details about the Data Control Palette and ADF bindings:
For an overview of the differences between Model 2 and Model 1 web pages:
Copyright © 1997, 2004, Oracle. All rights reserved.