Oracle Applications Framework (OAF) Interview Questions


Oracle OA Framework Interview Questions

    What is the pattern used in developing any OAF component?
    MVC (Model, View, Controller)
    Lists the components in the MVC architecture
    Model: Application Module, View Objects, View Links, Entity Objects, Entity Associations etc.
View: Page, Region, Attributesets etc.
Controller : Controller class files

    Which is the component responsible for user actions?
    Controller is the object. The code present in ProcessFormRequest gets executed up on the user action.

    If  we have to initialize something during the page loading, which is the right place?
A.     ProcessRequest() method of the Controller file is the right place.

    What is the significance of ProcessFormData()?
    For  a ‘POST’ request the data on the page is binded to the view object in this method

    Does ‘GET’  request result in calling ProcessFormData()?
    No, only POST request calls that.

    What is the main Controller component in OAF?
    OAController is the main class and our controller will become subclass of it.

    How does page structure get created at runtime?
    OAPageBean is responsible for creating the bean hierarchy structure at runtime after calling ProcessRequest() of each of the beans in the hierarchy.


    Where does the client BC4J objects get placed in the server?
A. They are located in the oracle.apps.<product>.<application>.server


    Where does the server BC4J objects get placed in the server?
    They are located in the oracle.apps.<product>.<application>.schema.server

    Where does the Page and Controller related files get placed?
    They are located in oracle.apps.<product>.<application>.webui

    What are Validation View Objects?
    They are the VVO’s used in validation of attributes, they are the BC4J components and have their AM ie VAM Validation Application Module

    What is the version of Jdeveloper to be used in 11i or R12?
    For 11i, Jdeveloper 9i will be used and for R12 Jdeveloper 10g will be used.

    What is a Database Connectivity File?
    It is a .dbc file which is specified in the project properties. The location of this file on the server is $FND_TOP/secure

    What is a View Object?
    It is a BC4J(Business Component for Java) object which encapsulates the query results. View objects will support the display of the content to user in the Page.

    How do you create a view object?
    View objects can be created in the Business components package, can be based on entity objects or an sql query. View objects based on sql query are read only view objects

    What is an entity object?
    Entity object is created based on a database table, it is responsible for insertion/updation/validation of the table data. They are stored in the oracle.apps.<prod>.<application>.schema.server package directory

    What is an Application Module(AM)?
    Application module holds the related objects pertaining to an application  ie. View objects, Entity Objects etc. The application module helps in getting the required database connection, maintains the page session or transaction context

    What is the object passed to every page request?
    OAPageContext object is passed to every request, using this object the controller initializes the application module object and will call the required methods.

    Where is the view object(VO) initialization  or  query filtering done?
    It is done with view object implementation class Ex. EmpVOImpl.java

    What is the property to set for an AM so that the transaction state is maintained across pages?
    RETENTION_LEVEL property is set to value MANAGE_STATE for an AM.



    What is the Personalization?
    Personalization means changes to the existing ‘Page’ according to the customer requirement

    Give some examples of Page Personalization?
    Addition of new columns to a table results, adding of fields, changing the order of regions, columns etc. Apart from this validation of certain fields, display of Descriptive flex fields etc can also be achieved

    What is extension?
    Extension is the changing of the existing components for adding more features or customer required features. View Objects, Controller, Application Module can be extended.

    What is substitution?
    When view objects are extended, we need to tell the applications that our extended view object should be used or substituted during runtime, substitution will serve this purpose

    How to do register a new OA Framework page in Oracle Applications?
    oracle.jrad.tools.XMLImporter utility will be used. After successfully importing the page data will be stored in metadata repository tables of the database

    How do you move personalization from one machine to another?
    Using the functional administrator responsibility the xml file can be downloaded, this file contains the required personalization done on a particular page. The same can be used to upload in a different instance. Here XMLImporter utility can be also used.

    How is the applications security maintained during the OA Framework components development or how is the required security obtained?
    The Database connectivity file ( .dbc file) has the applications username and password along with the responsibility to  be used for connecting to the applications at page run time.

    What are the different layers of onion reuse object model in OAF?
    The hierarchy is as :
Controller (XXCO.java)
                   |__
                        Application Module   (XXAMImpl.java, XXAM.xml)
                                   |__
                                       View Objects(XXVOImpl.java, XXVORowImpl.java, XXVO.xml)
                                                  |__
                                                     Entity Objects(XXEOImpl.java, XXEO.xml)
                                                             |_ Database            



    What is ‘Partial Page Rendering’ PPR?
A.     PPR is a mechanism where in only the required part of the page is refreshed as against the whole page. The page objects fire the ‘events’ and accordingly the request is handled in the controller file

    What are the search region options available?
    Simple Search – ResultBasedSearch is the construction  mode for the region
Advanced or autocustomization search – Autocustomization is the mode here
None – User has the develop the page, regions, controller etc here

    What is the bean used for supporting transactions across pages visually to the user?
    OATrainBean is used to link the pages across the transaction. AM supports the transaction context or state here across the pages.

    How does personalization takes its effect at runtime?
    After the page structure or bean hierarchy is formed with, the personalization layers get applied on top of it to come up with the final structure. Remember that is the reason why personalization is upgrade safe.


    Name some components requiring extension?
    View Objects, Controller, Application Module. Yes nested application module concept is allowed.

    After you modify a class file and move it to the server what is the immediate step that will be followed?
    The services of the instance ie. Apache server etc. have to be bounced so that the new code in the class file takes effect.

    Where does the two categories of files in OAF be placed in the server?
    All the xml files of the page/region will be placed in the respective TOP’s mds directory. All the class files irrespective of TOP will be placed under $JAVA_TOP which can be $COMMON_TOP/java

    When do you create additional business components package?
    Apart from B4CJ client business components package and B4CJ server business components package we create additional business components package when we develop any sharable thing such as ‘LOV’ (List of Values), ‘Poplist’ etc which will be used in multiple pages

    How do you map the LOV created to your base page?
    One of the items in the page has to be MessageLOVInput which extends the new LOV region, apart from this LOV mappings between base page and LOV region have to be created.

    What is the default top region of any new page that you create?
    PageLayout is the top level default region

    At what level region controller for a page can be set?
    It can be under a Main region under PageLayoutRegion or any region as per the business need. Provision of defining multiple controllers for a page also exist.

    PPR follows GET or POST flow?
    POST flow

    What is the extension to the tool for developing OA F components?
A. Jdeveloper OA Extension class support the OA F development

--All the Best

12 comments:

  1. how to do email validation in oaf pages?

    ReplyDelete
  2. Answers are short n sweet :)

    ReplyDelete
  3. Thanx ,Its very good.
    You can add more question and answer related to extension ,because Its need is more in market.
    So please add If posible.

    ReplyDelete
  4. Thanks for sharing Knowledge.
    Regards,
    Mahesh Wangate

    ReplyDelete
  5. Oracle OAF Online Training is provided with complete knowledge regarding all core concepts and it gives enough confidence by Smartmind Online Training. We can say Smartmind Online Training  is the best Oracle OAF Training platform for freshers because here we start every concept from the ground level and we explain concepts by taking real time scenarios, so Students get good understanding about subject. Smartmind Online Training  helps you to gain depth knowledge on Oracle OAF  and it makes you ready to become a real time Software Developers
    Oracle OAF Online Training

    ReplyDelete
  6. Thanks for giving Good Example.
    Fantastic article, Viral. Very well written, clear and concise. One of the best links explaining one to many and hierarchy Oracle oaf. Thanks a lot.It is uaefull to me and my training Ithubonlinetraining center.

    ReplyDelete
  7. Thanks for posting this useful information.
    It is very useful to me and who are search for Oracle OAF online Training .

    ReplyDelete
  8. I really appreciate information shared above. It’s of great help. If someone want to learn Online (Virtual) instructor lead live training in ORACLE ACCESS FRAMEWORK, kindly contact us http://www.maxmunus.com/contact
    MaxMunus Offer World Class Virtual Instructor led training on ORACLE ACCESS FRAMEWORK We have industry expert trainer. We provide Training Material and Software Support. MaxMunus has successfully conducted 100000+ trainings in India, USA, UK, Australlia, Switzerland, Qatar, Saudi Arabia, Bangladesh, Bahrain and UAE etc.
    For Demo Contact us.
    Saurabh Srivastava
    MaxMunus
    E-mail: saurabh@maxmunus.com
    Skype id: saurabhmaxmunus
    Ph:+91 8553576305 / 080 - 41103383
    http://www.maxmunus.com/


    ReplyDelete