欧美三区_成人在线免费观看视频_欧美极品少妇xxxxⅹ免费视频_a级毛片免费播放_鲁一鲁中文字幕久久_亚洲一级特黄

OAF MVC Architecture

系統 2082 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


更多文章、技術交流、商務合作、聯系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號聯系: 360901061

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

【本文對您有幫助就好】

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

發表我的評論
最新評論 總共0條評論
主站蜘蛛池模板: 交免费观看在线 | 国产成人18黄网站免费网站 | jizz日| 97日日 | 国产精品久久久久久久久久日本 | 天天拍天天干天天操 | 欧美在线视频一区二区 | 国产精品成人无码A片免费网址 | 国产精品亚洲精品不卡 | 欧美成人生活片 | 三及片在线观看 | 亚洲天堂久久精品 | 男女性刺激爽爽免费视频 | 牛牛热在线视频 | 色综合久久天天综合绕观看 | 一区二区不卡在线观看 | 一区二区三区在线免费看 | 午夜剧场操一操 | 国产欧美日韩在线观看 | 亚洲国产成a人v在线观看 | www.av在线免费观看 | 国产精品久久久久秋霞影视 | 亚洲欧美成人综合在线 | 亚洲天堂欧美在线 | heyzo欧美 | 啪一啪在线视频 | 小泽玛丽娅 | 青娱乐在线免费观看视频 | 欧美精品一区二区在线观看 | 亚洲九九 | 亚洲高清久久 | 天天操 夜夜操 | 欧美日韩成人网 | 国产精品久久99 | 五月婷婷之综合激情 | 锵锵锵锵锵锵锵锵锵好湿好大 | 夜夜爽日日澡人人 | 色狠狠色狠狠综合一区 | 欧美高清在线精品一区 | 欧美色综合天天久久综合精品 | 91在线成人 |