Application Module in OA Framework(OAF)








Application Module in OA Framework(OAF)

Application Module(AM) in OA Framework(OAF) will defines the logical data model and methods used to support business logic. Application Module(AM) handles Data base Transactions . AM the layer which will interact with client or OA Controller.

Application Module is a container of VO's, EO's , View Links.It encapsulates all Middle tier View Objects(VO) and View Links. OA Controller can Access a VO Via a AM only.

Every Oracle Application Framework (OAF) page should be attached to at least one Application Module.

Naming standards for Application Module 

  •  <Filename>AM.xml 
  • <Filename>AMImpl.java


Eg. SupplierAM.xml
       SupplierAMImpl.java

Whenever a new Application Module is created it will create 2 files one is XML and other is a Java File.

Application Module can be categorized into two

  • Root Application Module
  • Nested Application Module

If Application Module is attached to Main Page context then it is called Root Application Module if Application module is attached to any of  the regions inside the page then it is called Nested o Child application Module .

From Root Application Module methods and view objects in the Nested AM can be accessible where as vice versa is not possible.

Note :- Root Application Module cannot be Extended. Since this is the first component which is going to get load when the page opens.As per the Standards of OAF also it is not recommended practice.

The View Objects containing in the Main Application Module can be used anywhere in the child regions or Nested Application Module.

If the View Objects are attached to the Nested Application Module then those view objects are applicable only to that particular nested region.



No comments