Thursday, October 8, 2009

Getting Started with OAF(Oracle Application Framework) Development

Prerequisites
Basic Knowledge of Java
Basic Knowledge of XML
Database understanding
Oracle Applications knowledge

OAF(Oracle Application Framework) is a framework to build/customize Web pages for Oracle Applications. The framework is based on the industry standard MVC architecture and its very flexible.

MVC (Model, View, Controller) is a concept to build Web pages, you can read more about it at
http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller#Description

In OAF
Model is B4CJ (Business Components for Java)
BC4J should have all the business logic and is responsible to manipulate data
and communicate with database.

Controller is Controller (Also called CO)
Controller is linked to a page. and it handles all the page events (button clicked).
and page navigation.Controller is also responsible for dynamic rendering of the page.

View is XML ( JRAD xml)
In OAF the view(jrad xml) is declarative and the xml is stored in database (mds repository)
Because of its declarative nature any page element can be added/removed from the page xml at runtime.