Choosing an Application Style in JDeveloper

Background

Within JDeveloper, application developers can create applications for many different needs:

Each of these applications serves a different need. The JDeveloper Help system provides additional information as follows:

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

Create interactive browser clients for the Web

Working with JSP or Oracle ADF UIX web pages, Struts (optionally), and Oracle ADF data binding technology (optionally).

Create interactive GUI clients for the desktop

Working with Swing components and Oracle ADF data binding technology (optionally).

Create web services based on legacy code, software components (such as EJB components), or even PL/SQL in the database and make it accessible through HTTP quickly and easily.

Working with web services and Oracle ADF data binding technology (optionally).

Create Java programs to execute SQL statements directly against the database

Working with the database using JDBC or SQLJ.

Tasks

The process for creating applications in JDeveloper varies depending upon the style of application.

To create J2EE applications for the web:

  1. Create the application workspace by choosing one of these web application templates:
  2. Create the entities of the business service to provide the application datasource.
  3. Optionally, create the components for the web application controller layer.
  4. Optionally, reuse the data binding technology provided by the Oracle ADF model layer.
  5. Design the web pages in the view layer.

To create Swing applications for the desktop:

  1. Create the application workspace by choosing one of these Java application templates:
  2. Create the entities of the business service to provide the application datasource.
  3. Optionally, reuse the data binding technology provided by the Oracle ADF model layer.
  4. Design the Java forms in the view layer.

To create web services (requires modifying an application template):

  1. Right-click the Applications node in the Application Navigator and choose New Ap plication Workspace.
  2. In the Create Application Workspace dialog, click Manage Templates.
  3. Choose the template with the technology stack you want to use, and select the one of the projects, for example the Data Model project.
  4. Locate Web Services in the list of A vailable Technologies, and move it to the list of Selected Technologies.
  5. When you click OK, you are returned to the Create Application Workspace dialog, and the template you edited is that selected in the Application Template field.

Creating a Struts-based Web Application with Oracle ADF
Creating a Java Client Application with Oracle ADF
Creating a Model 1 Style Web Page with Oracle ADF
Using Web Services in Applications
Using Java to Execute SQL Statements

 

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