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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Reference: See the <strong>Oracle</strong> Application Developer Framework Developer’s<br />

<strong>Guide</strong> for Forms/4GL Developers Release 10.1.3, chapter 25: Advanced<br />

Business Components Techniques, section 25.1. Globally Extending ADF Business<br />

Components Functionality, and section 25.2. Creating a Layer of Framework<br />

Extensions. Internet: http://downloaduk.oracle.com/docs/html/B25947_01/bcadvgen.htm#sm0291.<br />

The Application Module Object base class can be used to implement functionality that is<br />

needed in all Application Modules of your application. Therefore <strong>JHeadstart</strong> has created<br />

is own subclass of the standard oracle.jbo.server.ApplicationModuleImpl<br />

class. (The <strong>JHeadstart</strong> Application Generator can automatically set up the use of this<br />

class if you don’t have your own ADF BC framework extensions.)<br />

If you want additional custom functionality for your application modules, this means<br />

that your custom AppModuleImpl should not extend the standard base class but rather<br />

the <strong>JHeadstart</strong> base class: JhsApplicationModuleImpl.<br />

To do this, you must first make sure that the <strong>JHeadstart</strong> Runtime 10.1.3 library is added<br />

to your project. Also add the Commons Logging library, because <strong>JHeadstart</strong> uses it.<br />

• Go to the Project Properties<br />

• Select category Libraries<br />

• Click Add Library<br />

• Under Extension, select Commons Logging 1.0.3 and Ctrl-click to also select<br />

<strong>JHeadstart</strong> Runtime 10.1.3<br />

• Click OK twice<br />

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

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

Saved successfully!

Ooh no, something went wrong!