Choosing a Client Type for the Oracle ADF Application

Background

Within JDeveloper, web application developers can design web pages based on a variety o fdifferent view technologies. While JSP pages are the standard way to render web pages, JDeveloper also provides Oracle ADF UIX for creating highly structured XML pages that render web pages using component technology:

Additionally, Java GUI client developers can create Swing applications that work with the Oracle ADF framework.

When you want to work with the Oracle Application Development Framework (Oracle ADF), you can choose among these view technologies:

If you want to.... Then choose...

Create Struts-based web pages using JavaServer Pages or ADF UIX pages, Oracle ADF, and Struts

Work with the Page Flow Diagram, Visual Editor, and Data Control Palette.

Create Model 1-style web pages using JavaServer Pages or UIX pages and Oracle ADF (without Struts)

Work with the Visual Editor, Data Control Palette, and Component Palette.

Create Java GUI clients using Oracle ADF JClient

Work with the Visual Editor and Data Control Palette.

Tasks

These procedures provide an overview of the tasks in the above table.

Note: When creating client applications for your Oracle ADF Business Components model project, you must use separate project folders for each type of client, including JClient forms, JSP, or ADF UIX. When you want to create a workspace with multiple clients that access the same ADF BC data model (for example, ADF UIX pages and JClient forms), be sure to generate your thin client web pages and rich client forms inside separate project folders.

To create an ADF-enabled web page for JSP or UIX with Struts:

  1. Create the application workspace using the appropriate web application template:
  2. Create the entities of the business service.
  3. Use the Struts Page Flow Diagram to layout the page flow and create the web pages. The page's extension ( .jsp or .uix) determines the type of page to be created.
  4. Open a new or existing web page in the Visual Editor.
  5. Use the Data Control Palette to insert already databound UI components into the JSP page.
  6. Use the Structure window to browse the UI components and data bindings of the page.
  7. Use the Property Inspector to modify any attribute of the page's UI components and data bindings.

To create ADF-enabled web pages for JSP and UIX without Struts support:

  1. Create the application workspace using the appropriate default web application template.
  2. Create the entities of the business service.
  3. Use the New Gallery Web Tier category to create an ADF-enabled JSP page or UIX page.
  4. Open a new or existing web page in the Visual Editor.
  5. Use the Data Control Palette to enable the ADF binding and insert already databound UI components into the web page.
  6. Use the Structure window to browse the UI components and data bindings of the page.
  7. Use the Property Inspector to modify any attribute of the page's UI components and data bindings.

To create ADF-enabled Swing panels for Java clients:

  1. Create the application workspace and select the default Java application template - Java Application (Default).
  2. Create the entities of the business service.
  3. Add a JClient empty frame or panel to the client project and open in the Visual Editor.
  4. Use the Data Control Palette to insert already databound UI components into the JClient frame or panel.
  5. Use the Structure window to browse the UI components and data bindings of the page.
  6. Use the Property Inspector to modify any attribute of the page's UI components and data bindings.

For other guidelines that may help you to start your application in JDeveloper:

For further information on these view technology issues:

These procedures help you to begin an Oracle ADF application:

 

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