Beruflich Dokumente
Kultur Dokumente
OA Framework is based on the industry-standard J2EE MVC design pattern. The MVC architecture is a component-based design pattern with clean interfaces between the Model, View, and Controller It further consists of 2 frameworks BC4J for Model, UIX for View. 2. What is MVC (OAF Architecture)? OAF works on 3 layer architecture (Model, View Controller). Model The Model is where the application implements its business logic.
The Model layer of the J2EE MVC architectural pattern is implemented in the OA Framework by using the Oracle Business Components for Java (BC4J).
View - The View is where the application implements its user interface.
The OA Framework View is implemented using UI XML (UIX). UIX uses XML to describe the components and hierarchy that make up an application page. UIX also provides runtime capabilities to translate that metadata into HTML output so that it can be shown on a Browser or a mobile device.
Controller - Controller is where the application handles user interaction and directs business flow. OA Controller is a pure Java class Implementation. 3. What are various BC4J components?
VO( View Object ) : It contains distinct files containing SQL query. Query is in .xml file of VO. VO has read only relationship with DB. Distinct files : Vo.xml, VOImpl.java, VORowImpl.java.
EO(Entity Object) : are BC4J entity objects that encapsulate the business rules
(validations, actions and so on) associated with a row in a database table. For Example, the PO_VENDORS Table would be created as an Entity Object.
VL (View Link) : View Link is used to create Master-details link b/w 2 VOs. 4. What is a DBC File?
It is a text file which contains the DB connectivity information. On the server it is present in $FND_TOP/secure folder. On the client it is to be placed in jdevhome\jdev\system9.0.3.5.1453\oa\dbc_files\secure folder.
Personalize Self Service Definitions: To enable Personalize page link on the page. FND Personalization Region Link Enabled: Personalization links at every region. used to enable Region
FND Migrate to JRAD: By default set to Yes. Page would run from MDS if Yes, else it will run from AK. FND Document root path: required for personalization migration. It is set to path of the MDS folder on the respective servers. FND Corporate Branding image: FND Banding Size: these profiles options are used for changing standard image (Oracle) on the page.
6. How do you find out which version of Jdeveloper to be deployed on the machine?
Go to http://Host Address:8000/OA_HTML/OAInfo.jsp This is what you would get
9.
How many methods are in controller are what are the parameters to it?
There are 3 (2 are visible) 1. ProcessRequest : is called when the page is requested for the first time from the server. 2. ProcessFormRequest : is called when some event occurs on the page 3. ProcessformData(not visible). : Used to capture Data from the form fields which the user has entered and post it into Model Layer. parameters are : OApageContext : OAWebBean: OApageContext: 1. To get and set values of the fields, using oapagecontext.getParameter and oapagecontext.putParameter 2. For redirecting to the current page or another page. For example to redirecting to current page itself use oapagecontext.forwardImmediatelyToCurrentPage. Or you may use oapagecontext.sendRedirect(snewpage) 3. To get a handle to application module(remember we attached AM to page)oapagecontext.getRootApplicationModule() 4. Write debug messages, using oapagecontext.writeDiagnostics 5. Get message text from oapagecontext.getMessage FND Message dictionary, using
OAWebBean : 1. Remember that webbean represents the hierarchy/structure of components in the page. Hence using this paremeter object, you can get a handle to any bean/component in that page hierarchy. Once you have a handle to that bean(say field bean or button bean), you can then invoke methods like setRendered etc to change the behaviour of page at runtime.
Extension: Here the business logic is altered or the functionality of the page changes.
15. Steps for OAF Page Registeration? 1. Select all the .xml and .class files related to your project from myclasses folder. 2. Now FTP from the selected files from client to Application Server in $JAVA_TOP in the same directory as on the client 3. Next step is to run the import cmd from command prompt Path: /jdevbin/jdev/bin 4. Login though System Administrator Form function Create a form function with type sswa jsp function. Web Html: OA.jsp?page=/path of page. 5. Attach the Function Name with the Menu. 16. Steps for VO substitution? 1. About this Page-> VO, AM, EO, Path of Page 2. Export Commad (in cmd Prompt) 3. New .jpr =Open page
4. Look for AM and VO or EO. 5. Copy the class files of VO,AM or EO 6. Decompile into Java and store it into MyProjects (with respective directory structure) 7. Open VO.xml in a new jpr 8. Create a new BC4J based on your Original VO. 9. Create a new VO and extends original VO 10. Change the query 11. Rebuild the project 12. Go to .jpx(double click) 13. Go to Substitutions 14. Substitute Vo 15. Rebuild your Project .jpr 16. Transfer New VO class and xml to respective directory structure 17. FTP .jpx into $JAVA _TOP 18. unix command promrt CD$ JAVA_TOP 19. jpx importer command 20. Bounce Apache Server
eg. pageContext.putSessionvalue(ParamterName,ParameterValue)
20. What is MDS? 21. What is webBean Hirerachy? 22. When is VO extensions not upgrade unsafe?
When VO is based on EO and EO is read only.
25. Concept of Advance Table and custom region? 26. What are various command used in OAF?
import, export, xml Importer, jpx importer