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.

3.1.1. Using CDM RuleFrame<br />

• Save the project<br />

Now you can use<br />

oracle.jheadstart.model.adfbc.v2.JhsApplicationModuleImpl as the<br />

super class of your custom Application Module framework extension.<br />

Suggestion: In the Base Classes wizard page, use the Browse button to find<br />

the desired base class. In the Search field, type in the first letters of the class<br />

name, and the dialog will show all available classes that satisfy the base class<br />

requirements.<br />

CDM RuleFrame is a PL/SQL based framework for implementing business rules in the<br />

database, tightly integrated with <strong>Oracle</strong> Designer.<br />

Headstart <strong>Oracle</strong> Designer. Add on to <strong>Oracle</strong> Designer that includes CDM<br />

RuleFrame:<br />

http://www.oracle.com/technology/products/headstart/index.html<br />

If you use CDM RuleFrame to implement business rules, you want the errors reported by<br />

CDM RuleFrame to be displayed nicely in your generated web application. Using<br />

<strong>JHeadstart</strong> this is easily accomplished by using a special application module super class<br />

shipped with <strong>JHeadstart</strong>: RuleFrameApplicationModuleImpl. So, when using CDM<br />

RuleFrame, your application module base class should extend<br />

RuleFrameApplicationModuleImpl rather than JhsApplicationModuleImpl.<br />

Note that RuleFrameApplicationModuleImpl extends<br />

JhsApplicationModuleImpl in turn; so all standard <strong>JHeadstart</strong> functionality is still<br />

available.<br />

3 - 4 Creating Business Components <strong>JHeadstart</strong> <strong>Developer's</strong> <strong>Guide</strong>

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

Saved successfully!

Ooh no, something went wrong!