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.

2.4.2. Naming ADF Business Components<br />

application.<br />

….controller.jsf.bean Contains JSF managed bean classes<br />

….controller.jsf.lifecycle Contains custom JSF Page Lifecycle classes<br />

….view Base package for classes that contain logic to<br />

display web pages and the user interface in<br />

general<br />

….view.pagedefs Contains ADF Model Page Definitions<br />

• Entity Object names are self-descriptive and in singular. Remove any table name<br />

prefixes from the name.<br />

example: Department<br />

• Entity Associations are named using the format .<br />

example: DepartmentHasEmployees<br />

• View Objects names describe the result of the query, are in singular when the<br />

query returns onew row at most, and in plural when the query can return<br />

multiple rows. Any bind parameters defined for the ViewObject, should be<br />

resembled in the name<br />

examples: AllClerks, ClerksByDepartment<br />

• View Links are named using the format .<br />

example: DepartmentHasEmployees<br />

• Application Modules names are descriptive for the functional area they cover,<br />

and are suffixed with “Service”.<br />

examples: AuthorizationService, HumanResourcesServic<br />

2 - 14 Getting Started <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!