Monday 17 September 2012

Sequence of OA Frame work (Communication Model) OF EO,VO,AM


Note: - Controller Must Not directly Interact with View Object
Sequence of OA Frame work (Communication Model) OF EO,VO,AM
Controller (CO) associated with html/XML Page regions (View) side: -   CO Calls a method reside in Application Module (AM) to do something and forward the processing to AM.
Controller contains
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
  {
    super.processRequest(pageContext, webBean);
}
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
  {
  super.processFormRequest(pageContext, webBean);
}
Methods.
Application Module AM creates a handle for the view object and executes the query, and provide handle to the result set of the query in shape of View Object in memory (VO).

View is just like a Result Set base on Entity Object (EO).

We can also say that Controller calls a method in AM( method which creates a blank row in the View Object)  which is  then linked to EO (Entity Object).



View     (XML/HTML File)à VO and Entity Object reside in Modelà  Controller
COàAMàViewàEO
                    (Model)              

No comments:

Post a Comment