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.

3.1. Setting Up ADF BC Base Classes<br />

Every type of ADF Business Component extends from a Base class. By default, the base<br />

classes are set to the standard ADF BC classes defined in oracle.jbo.server package. You<br />

can check that under menu option Tools – Preferences.<br />

In the ADF Developer’s <strong>Guide</strong> 10.1.3 it is recommended to create your own layer of ADF<br />

BC Base Classes, also called framework extensions:<br />

Before you begin to develop application-specific business components, <strong>Oracle</strong> recommends that<br />

you consider creating a complete layer of framework extension classes and setting up your projectlevel<br />

preferences to use that layer by default. You might not have any custom code in mind to put<br />

in some (or any!) of these framework extension classes yet, but the first time you encounter a need<br />

to:<br />

• Add a generic feature that all your company's application modules require<br />

• Augment a built-in feature with some custom, generic processing<br />

• Workaround a bug you encounter in a generic way<br />

You will be glad you heeded this recommendation. Failure to set up these preferences at the outset<br />

can present your team with a substantial inconvenience if you discover mid-project that all of<br />

your entity objects, for example, require a new generic feature, augmented built-in feature, or a<br />

generic bug workaround. Putting a complete layer of framework classes in place to be<br />

automatically used by JDeveloper at the start of your project is an insurance policy against this<br />

inconvenience and the wasted time related to dealing with it later in the project.<br />

For an explanation how to create such a layer, see the ADF Developer’s <strong>Guide</strong>.<br />

3 - 2 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!