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.

4.1. Understanding the <strong>JHeadstart</strong> Application Generator Architecture<br />

This section describes the high level architecture of the <strong>JHeadstart</strong> Application Generator<br />

(JAG).<br />

The <strong>JHeadstart</strong> Application Generator provides a simple, highly productive means for<br />

creating a transaction-based J2EE application using ADF.<br />

The high-level development process shown in this diagram follows:<br />

1. Create the business service using ADF Business Components wizards in<br />

JDeveloper. This step is independent of <strong>JHeadstart</strong>.<br />

2. Use the <strong>JHeadstart</strong> New Application Definition Wizard to create a first-cut of the<br />

application definition, the metadata file in XML format required to generate the<br />

application. Then, although it is not shown on the diagram, you would refine the<br />

metadata using the Application Definition Editor, and customize the generator<br />

templates using the JDeveloper code editor.<br />

3. Generate the Model (data bindings), View, and Controller layer code using the<br />

<strong>JHeadstart</strong> Application Generator. This is a highly iterative process, where you<br />

refine the metadata and templates based on previous generation results. For an<br />

example of a generated page see Figure 2.<br />

4. If the results from the <strong>JHeadstart</strong> generator do not fully match your functional<br />

requirements, you can enhance the generated pages using the JDeveloper ADF<br />

tools (visual editors, property inspectors, and drag-and-drop facilities). There are<br />

several ways to preserve post-generation changes, as we will discuss later.<br />

The Application Definition drives the <strong>JHeadstart</strong> Application Generator. This is an XML<br />

file that defines the overall structure of the application, including:<br />

4 - 2 Using the <strong>JHeadstart</strong> Addins <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!