Running the Oracle ADF Application from the Page Flow Diagram

The Struts controller servlet requires an action path to initiate a web page, and running a web page from the Navigator directly bypasses the Struts controller. To run a Struts web page, you must invoke an existing action request URI.

Note: While running an ADF-enabled web page in your browser, if you modify the page's UI model references (for example, by dropping components from the Data Control Palette), you must close the browser and run the application again. Refreshing the browser to display the recompiled web page does not reload the UI model definitions.

To run an Oracle ADF web application:

Notes About Running an Oracle ADF Business Component Client

When you want to run a web page that accesses Oracle ADF Business Components in any mode besides local mode, you must first set the runtime configuration in the view-controller project's DataBindings.cpx file. At runtime, the .cpx file metadata definitions you specify, will create the Oracle ADF data binding context and permit the client application to access the business services using the specified runtime configuration. To select the runtime configuration to use with the ADF Business Components client, see Running an Oracle ADF Business Components Client Application.

When you run your Oracle ADF Business Components client using the remote EJB configuration (by choosing AppModuleAS as client project's runtime configuration), the message log may display Cannot initialize data model. In this case, you must first create a web application archive (WAR) file in the client project and add ModelEJB.deploy to the WAR file's profile dependencies. For details about creating a WAR file and setting its profile dependencies, see Granting Client Access to an ADF Business Components EJB Session Bean.


Running in JDeveloper

 

Copyright © 1997, 2004, Oracle. All rights reserved.