Oracle JHeadstart Developer's Guide - Downloads - Oracle
Oracle JHeadstart Developer's Guide - Downloads - Oracle
Oracle JHeadstart Developer's Guide - Downloads - Oracle
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
CHAPTER 3 CREATING ADF BUSINESS COMPONENTS .............................. 3-1<br />
3.1. Setting Up ADF BC Base Classes ..........................................................................................3-2<br />
3.1.1. Using CDM RuleFrame................................................................................................3-4<br />
3.2. Creating the Entity Object Layer ............................................................................................3-5<br />
3.2.1. Review Database Design ..............................................................................................3-5<br />
3.2.2. Creating First-Cut Entity Objects and Associations .....................................................3-5<br />
3.2.3. Renaming Entity Objects and Associations..................................................................3-6<br />
3.2.4. Generating Primary Key Values...................................................................................3-7<br />
3.2.5. Setting Entity Object Attribute Properties used by <strong>JHeadstart</strong>.....................................3-9<br />
3.2.6. Implementing Business Rules.....................................................................................3-11<br />
3.3. Creating View Objects and Application Modules ................................................................3-15<br />
3.3.1. Creating View Objects and View Links .....................................................................3-15<br />
3.3.2. Renaming View Objects and View Links...................................................................3-15<br />
3.3.3. Inspecting and Setting Key Attributes of a View Object............................................3-15<br />
3.3.4. Setting View Object Control Hints.............................................................................3-18<br />
3.3.5. Determining the Order of Displayed Rows ................................................................3-18<br />
3.3.6. Creating Calculated or Transient Attributes ...............................................................3-19<br />
3.3.7. Setting Up Master-Detail Synchronization.................................................................3-22<br />
3.3.8. Defining View Links and View Object Usages for Lookups .....................................3-23<br />
3.3.9. Testing the Model.......................................................................................................3-24<br />
CHAPTER 4 USING JHEADSTART........................................................... 4-1<br />
4.1. Understanding the <strong>JHeadstart</strong> Application Generator Architecture........................................4-2<br />
4.1.1. Input Output..................................................................................................................4-3<br />
4.2. Using the <strong>JHeadstart</strong> Enable Project Wizard..........................................................................4-4<br />
4.2.1. Enabling <strong>JHeadstart</strong> on a new project ..........................................................................4-4<br />
4.2.2. Enabling <strong>JHeadstart</strong> on an existing project ..................................................................4-5<br />
4.2.3. Re-enabling <strong>JHeadstart</strong> on a project.............................................................................4-6<br />
4.3. Using the Create New Application Definition Wizard ...........................................................4-7<br />
4.3.1. Dropdown Lists or Lists of Values...............................................................................4-7<br />
4.4. Using the Application Definition Editor.................................................................................4-9<br />
4.4.1. Maintaining the Application Definition........................................................................4-9<br />
4.4.2. Service ........................................................................................................................4-11<br />
4.4.3. Groups ........................................................................................................................4-12<br />
4.4.4. Items ...........................................................................................................................4-12<br />
4.4.5. Lists of Values............................................................................................................4-12<br />
4.4.6. Regions .......................................................................................................................4-13<br />
4.4.7. Detail Groups..............................................................................................................4-14<br />
4.4.8. Domains......................................................................................................................4-14<br />
4.4.9. Manipulating Objects .................................................................................................4-15<br />
4.4.10. Novice Mode and Expert Mode................................................................................4-18<br />
4.4.11. Synchronize View Objects with groups ...................................................................4-18<br />
4.5. Running the <strong>JHeadstart</strong> Application Generator ....................................................................4-20<br />
4.6. Running the Generated Application .....................................................................................4-22<br />
4.6.1. TroubleShooting .........................................................................................................4-22<br />
4.6.2. Dealing with Code Segment Too Large Error............................................................4-23<br />
ii Contents <strong>JHeadstart</strong> Developer’s <strong>Guide</strong>