As you may be aware of that OAF is based on MVC architecture. Through this article lets get into the details of MVC architecture pertaining to OAF.
OAF follows J2EE Architecture and J2EE follows MVC architecture so therefore ultimately OAF follows MVC Architecture.
The abbreviation of MVC is Model View Controller.
MVC is the clean design interface between Model, View, and Controller.
Architecture of OAF
Model:
Model will take care the Data Base related Transactions, Model contains the following:
- Entity Object (EO)
- View Object (VO)
- Callable Statement (PL/SQL Statement)
- Prepare Statement (Single Select Statement)
- OADB Transactions (Oracle Apps Data Base Transactions)
Read more about Model: OAF Components ~ Model ~ MVC Architecture
View:
View is nothing but the OAF Page Output. View is implemented by UIX (User Interface XML).
Read Details About View: OAF Components~ View ~ MVC Architecture
Controller:
Controller will take care of web browser activities like HTTP Get and HTTP Post
Controller have got three methods:
Process Request
Process Forms Request (HTTP Get)
Process Form Data (HTTP Post)
HTTP get: While loading the Page we use HTTP Get.
HTTP Post : After Loading the page if we want any changes the we use HTTP Post.
We will discuss in detail about MVC architecture in the next chapters.
Read Details about Controller: OAF Components -Controller - MVC Architecture
Onion Structure of OAF
Another structure of OAF is called Onion structure.
The OA Framework can be extracted into a series of concentric layers.
Each layer knows only about the layers below to them.
The below figure shows the Onion Structure, in which AM interacts with the VO and VO interacts with EO and finally EO interacts with Database.
Read Other OAF Tutorials:
- How To Debug OAF Pages When Its Going Into Error!!
- OAF Interview Questions And Answers - Part1
- How To Migrate OAF Personalizations To Other Instances
- How to Enable Personalization link On OAF Pages
- How To Create A VO At Run Time In OA framework
- Implement PopList in OA Framework | OAF Tutorials
- How To Call A Concurrent Program From OA Framework Pages
COMMENTS