Sunday, July 15, 2012

MVC- Model View Controller

MVC- Model View Controller


  1. Model(BC4J)- Business Components for Java
    1. AM - It is a container for EO/VO
      1. Provides the transaction context like maintaining session , database connection etc.
    2. EO - It represents the database tables and its rules.
      1. It provides functions CUD to perform on the table.
      2. Each EO corresponds to single table.
    3. VO- It is nothing but a SQL View written as SQL query to represent the data on the page.
      1. It can be based on EO or may be on a plain SQL
  2. View 
    1. Each component used in OAF page is built using Java Beans.
    2. These java beans create the HTML content at run time.
  3. Controller
    1. It handles user interaction / navigation on the page.

No comments: