14.01.2013 Views

Oracle JHeadstart Developer's Guide - Downloads - Oracle

Oracle JHeadstart Developer's Guide - Downloads - Oracle

Oracle JHeadstart Developer's Guide - Downloads - Oracle

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

13.2. Roadmap<br />

When you plan to use the JFG, it is recommended that you follow the steps below:<br />

1. Make sure Forms .fmb file is version 9i or 10i.<br />

The JFG uses the Forms utility to convert a forms .fmb file to XML. This utility is<br />

available as of Forms version 9i. If you built your forms with an older version,<br />

you need to open your forms in version 9i or 10i, and save the .fmb file with this<br />

version. Note that you do NOT need to upgrade your whole forms application to<br />

9i or 10i; the JFG only needs the .fmb file in the proper version.<br />

2. Analyze the forms for elements that should be ignored by the JFG<br />

When running the JFG you can specify names of form elements that should be<br />

ignored during the generation process. To choose the appropriate elements to<br />

exclude from generation, you need to analyze the forms you want to run through<br />

the JFG. Typical candidates to exclude are:<br />

• Common forms elements added through an object library, like a block,<br />

canvas and window to display a calendar popup on date items, or a<br />

canvas and window to display errors.<br />

• Current record indicator items<br />

• Query-Find blocks, windows and canvasses<br />

3. Prepare your project in JDeveloper<br />

Before you can run the JFG you must create and prepare your project in<br />

JDeveloper. See Chapter 1 ‘Getting Started’ on how to prepare your JDeveloper<br />

project, and apply the steps until just before the creation of new ADF Business<br />

Components.<br />

4. Run the JFG<br />

You are now ready to actually run the <strong>JHeadstart</strong> Forms2ADF Generator in your<br />

Model project. It is recommended that you start with the simplest forms in your<br />

application to build experience with the JFG and the results it produces. See the<br />

next section on how to start and use the JFG.<br />

5. Understand and Inspect the Forms2ADF Generator Outputs<br />

Before generating the web application using the <strong>JHeadstart</strong> Application<br />

Generator, we recommend you check the outputs produced by the JFG. See<br />

section “Understanding the Outputs of the <strong>JHeadstart</strong> Forms2ADF Generator” for<br />

more information.<br />

6. Create ADF Web Application using the <strong>JHeadstart</strong> Application Generator<br />

After running the JFG you can generate <strong>JHeadstart</strong> applications in the same way<br />

as if you would have created your ADF Business Components manually, and as<br />

if you would have run the New <strong>JHeadstart</strong> Application Definition wizard. See<br />

Chapter 1 ‘Getting Started’, and apply the steps after creation of a <strong>JHeadstart</strong><br />

Application Definition.<br />

13 - 4 Forms2ADF Generator <strong>JHeadstart</strong> Developer’s <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!