亚洲免费在线-亚洲免费在线播放-亚洲免费在线观看-亚洲免费在线观看视频-亚洲免费在线看-亚洲免费在线视频

OAF MVC Architecture

系統(tǒng) 2012 0

OAF is a java based application framework to develop web based applications that link to Oracle Applications instance while maintaining all the security features of that apps instance. A framework is a specialized set of related classes designed to make application development easier. In effect, a framework implements part of an application so developers don’t have to write all of its code from scratch; they can use the framework as the basis for their work and while focusing on the additional code required to implement their specific application requirements.

OA Framework follows Model, View and Controller (MVC) Architecture as described below:

1] Model

Model contains the components which handles data directly from Database. It Includes Business Components for Java (BC4J Objects) which mainly are:

Entity Objects (EO):

Entity Objects are generally based on one table which encapsulate the business rules. These objects are used by OAF page to perform update/insert/delete operations. You can join two EOs using Entity Associations.

View Objects (VO):

These objects contain a SQL query that queries the data from database and present it in the OAF page. VOs can be based on one or many EOs or a SQL query. Two VO can be linked together through a View Link.

Application Module (AM):

It is a container for related BC4J objects and provides the database connection. It also provides Transaction Context (OADBTransaction) or Transaction Management. An AM can have more nested AM contained in it along with other BC4J components. But it is mandatory to have an AM for an OAF page.

2] View

View contains the actual page items on page which user can see. The view in OAF comprises of various page level items like text fields, buttons, regions, links etc. These items are visible on any OAF page. These items can either be tied to VO attribute or having a constant value or populated at run time based through controller logic.

Please note that- View Layer is altogether different than View Object!!!!!

3] Controller

Controller handles all the user actions done on the page. OAF requires a java controller class to be defined for a page/region which handles various page level actions. The important methods in this class are:

A] ProcessRequest

This request is called when page is rendered. Any logic to be executed during page initialization is kept here.

B] ProcessFormRequest

Any page submit action causes ProcessFormRequest to be executed. The logic put here typically is that which needs to be executed after actions like button click or any other page submit action.

The Controller class is mostly used to put logic for actions on page such as button clicks, navigation to other pages. The two objects that are passed to controller methods are OAPageContext and OAWebBean . OAPageContext provides access to objects like AM class, page parameters, session values, navigation methods. OAWebBean is generally used to get a handle of page items.

In coming posts, I will try to write more details about these components and how they works….so stay tuned!


source: http://imdjkoch.wordpress.com/2012/09/12/oaf-mvc-architecture/

OAF MVC Architecture


更多文章、技術(shù)交流、商務(wù)合作、聯(lián)系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號(hào)聯(lián)系: 360901061

您的支持是博主寫作最大的動(dòng)力,如果您喜歡我的文章,感覺我的文章對(duì)您有幫助,請(qǐng)用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點(diǎn)擊下面給點(diǎn)支持吧,站長(zhǎng)非常感激您!手機(jī)微信長(zhǎng)按不能支付解決辦法:請(qǐng)將微信支付二維碼保存到相冊(cè),切換到微信,然后點(diǎn)擊微信右上角掃一掃功能,選擇支付二維碼完成支付。

【本文對(duì)您有幫助就好】

您的支持是博主寫作最大的動(dòng)力,如果您喜歡我的文章,感覺我的文章對(duì)您有幫助,請(qǐng)用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長(zhǎng)會(huì)非常 感謝您的哦!!!

發(fā)表我的評(píng)論
最新評(píng)論 總共0條評(píng)論
主站蜘蛛池模板: 99久久99久久精品国产 | 国产成人免费在线观看 | 一区二区精品在线观看 | 国产一区二区三区在线免费观看 | 欧美男女爱爱视频 | 国产成人a∨麻豆精品 | 综合欧美日韩一区二区三区 | 五月天婷婷免费观看视频在线 | 欧美理论大片清免费观看 | 中文字幕国产在线 | a毛片免费观看 | 欧美国产亚洲精品高清不卡 | 国内精品视频一区二区八戒 | 国产欧美一区视频在线观看 | 99er这里只有精品 | 99热这里只有精品免费国产 | 天天操天天干天天操 | 国产黄色一级大片 | 手机看片高清国产日韩片 | 亚洲国产精品久久久久 | 激情五月婷婷在线 | 久久国产精品99精品国产 | 午夜精品久久久久久久90蜜桃 | 久久嫩模 | 成人国产精品一级毛片视频 | 国产高清不卡一区二区三区 | 性生生活三级视频观看 | 一区二区精品在线观看 | 91在线免费视频 | 尤物视频在线免费观看 | 亚洲精品免费视频 | 国产成a人片在线观看视频 国产成a人片在线观看视频99 | 久久福利资源网站免费看 | 天天干天天操天天拍 | 中文字幕在线播放 | 精品久久一区二区三区 | 国产亚洲精品看片在线观看 | 国产成人精品2021欧美日韩 | 亚洲欧洲国产精品久久 | 国产精品久久久久久久久久98 | 国产精品国产三级国快看 |