MVC Architecture in OAF
Hi friends, we are going to discuss about MVC Architecture in OAF. We will try to explain you about the MVC Architecture in OAF. In oracle apps r12, all webpages are developed based on the MVC architecture. MVC full form is Model View Controller in OAF. OAF is the new technology in oracle apps which helps to create the web based pages in oracle ebs. OAF complete form is Oracle Application Framework. In OAF , we designed the web pages which runs in the oracle apps r12 application. All web pages develops based on MVC Architecture so we need to understand this and what are components available in this Architecture. Please find below the complete detail about MVC Architecture in OAF.
MVC Architecture in OAF |
What is MVC Architecture in OAF
MVC full form is Model View Controller. OAF is the new technology introduced by oracle in Oracle apps r12. OAF helps to develop the Web pages which runs inside the oracle apps r12 like customer master page , Expense reports page in oracle apps r12. OAF web pages architecture is called as MVC architecture. All OAF webpages developed on the MVC architecture in oracle apps r12. MVC Architecture is a combination of three important tools Model , View Controller which makes this MVC architecture.
The "Model" is where we handle the business logic. All the BC4J components in OAF comes under Model like AM (Application Module), VO (View Object), EO (Entity Object), VL (View Link) & AO (Association Object).
The "View" is where application handles the user interface.
The "Controller" where application handles the user interaction. When we create a controller a java class file has been created.
4 Important Components of MVC Architecture in OAF
1.Entitiy Object (EO).
2.View Object (VO).
3.Application Module (AM).
4.Controller(CO)
Entity Object (EO):-
EO is like a table in OAF. EO Encapsulate business rules associated with a row in a table. Entity object has direct link with Data base table. Application interact with Database with the help of EO.
View Object (VO) :-
VO:- "View Object" helps the application to deal with the EO. View Object may based on EO or it could be based on independent sql query which has no relation with the EO.
Application Module (AM) :-
AM:-"Application Module" is a container which provide or manage access to the BC4J model object. Application module has complete control on the Application page .An OAF page cannot be run without the Application module. And we cannot access any object in the Page with out the AM.
Controller (CO):-
CO:-"Controller" responds user action and maintain application flow. Controller contains two Blocks. We write our business logic in the controller. It helps to put validation and to meet out our business logic. In this java class file has been created.
2 Important Methods of Controller Component in MVC Architecture
1.Process Request
2.Process form Request
Process Request: -
When the page loads process request will fire. So if we want to initialize some default values when the page load put this under Process Request.
Process form Request: -
When we press the button, Process form request executed. So if we want to execute some code after user press the Submit button we will put under this block.
1 comments:
Interesting Article. Hoping that you will continue posting an article having a useful information. Administrative Process
Post a Comment