In my previous post ADF Namings Conventions – Part I I have focused my attention on:
· Application & Project Namings
· Packages Namings
· Business Components Namings
Today I will start to talk about Model & View Controller Project namings.
ADF Model Namings
For new ADF applications we are requested to set the names for Model and ViewController projects. In what concerns the Model it should following naming:
<PROJECT_NAME> + <MODULE_NAME> + Model
For the package structure it should be configured as follows:
<DOMAIN_NAME> + . + <PROJECT_NAME> + . + <MODULE_NAME> + . + model
As you can see, package structure follows the same structure defined in my previous post plus “model“.
ADF View Controller Namings
In ViewController projects we have a wide range of namings we can follow since we have multiple features we can take advantage of. For that reason we divided it in sub topics. .
The name for the project should be defined as follows:
<PROJECT_NAME> + <MODULE_NAME> + Controller
By using “Controller” prefix we are able to automatically identify projects type and purpose.
Project Default Package Structure
Package structure for View Controller project should be defined as follows:
<DOMAIN_NAME> + . + <PROJECT_NAME> + . + <MODULE_NAME> + . + view
As you can see, package structure follows the same structure defined in my previous post plus “view“. Read the complete article here.
For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.