Professional Documents
Culture Documents
2. What is a VO?
a. Represent a query result
b. Are used for joining, filtering, projecting, and sorting your business data
c. Can be based on any number of entity objects
d. Can also be constructed from a SQL statement
4. What is a Controller?
Controller is the java file and can be associated to a complete OAF page or to a
specific region.
There are several tasks you will do routinely in your code.
7. What is extension?
Extension is when you take an already existing component ex an OAF page or a
region and then add some more functionality to it without disturbing the original
functionality.
8. What is personalization?
Oracle Apps Framework has an OA Personalization Framework associated with it
so that you can personalize any OAF page in an Oracle E-business Suite application
without changing the basic or underlying code of that OA Framework page, Oracle
Application Framework makes it very easy to personalize the appearance of the
page or even the personalization of data displayed on to an OA Framework page.
Entity Object - EO encapsulates the business logic and rules. EOs are used for
Inserting, Updating and Deleting data from the database table. E0 is also used for
validating the records across the applications.
View Object - View object encapsulates the database query. It is used for
selecting data. It provides iteration over a query result set. VOs are primarily based
on EOs. It can be used on multiple EOs if the UI is for update.
View object encapsulates the database query. It is used for selecting data. It
provides iteration over a query result set.VOs are primarily based on Eos. It can be
used on multiple EOs if the UI is for update. It provides a single point of contact for
getting and setting entity object values. It can be linked together to form View Links.
14) What is an AO?
An association object is created where we link EOs. For example take the search
page where we link the same EO to form a association between the manager and
employee. Every employee should have a manager associated. But if it President
then no there is no manager associated. This is a perfect example to understand the
AO.
19) What is the difference between inline lov and external lov.
Inline lov is a lov which is used only for that particular page for which it was
created and cannot be used by any other page.
External lov is a common lov which can be used by any page. It is a common
component for any page to use it. It can be used by giving the full path of the lov in
the properties section External LOV of the item.
20) what is a Javabean?
JavaBeans is an object-oriented programming interface that lets you build re-useable
applications or program building blocks called components that can be deployed in a
network on any major operating system platform.
22) what is the difference between autocustomization criteria and result based
search?
Results based search generates search items automatically based on the columns
on the results table.
In Autocustomization search we need to set what all fields are required to display as
a search criteria.
The application module which is associated with the top-level page region (the
pageLayout region) is root application module.
FND Diagnostics: required for ABOUT THIS PAGE and Diagnostic link on page.
Personalize Self Service Definitions: To enable Personalize page link on the page.
FND Personalization Region Link Enabled: used to enable Region Personalization
links at every 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 Branding image:
FND Banding Size: these profiles options are used for changing standard image
(Oracle) on the page.
1. Tokens
eg. vname={@AttributeName}
2. Hash Maps
eg. HashMap variablename=nre HashMap();
variablename.add(ParameterName,ParameterValue);
3.ThroughSession
eg. pageContext.putSessionvalue(ParamterName,ParameterValue)
Parameters:
functionName This is the function name representing the page you want to forward
to. If its null, an IllegalArgumentException will be thrown.
Also if the function is not under the current HOMEPAGE a OAException will be
thrown.
menuName The name of the HOMEPAGE menu to reset the Menu context to
when the menuContextAction is
OAWebBeanConstants.RESET_MENU_CONTEXT.
If the menuName is not of type HOMEPAGE a OAException will be thrown. You can
pass null otherwise.
parameters -
HashMap of parameter name/value pairs to append to the forward URL. The final
forward URL parameters are in the following sequence:
It will first get the functions corresponding URL call by querying the function
information from the database. If the user is not authorized to execute this function, a
security OAException will be thrown.
It will then append all parameters passed in the parameters HashMap. First
parameter added to the HashMap will be first added to the URL. Also the framework
will encode all parameter values before appending them to the URL.
It will remove all parameters if they have null values in the passed parameters
HashMap. This provides an easy way for developers to set a certain parameters
value to null if they want to remove it.
It will remove any OA Framework internal URL parameters such as bcrumb,
retainAM, and so on..
retainAM If true, all the cached application modules will be retained. If false, all the
cached application modules will be released.
Developers must use this parameter to control the release behavior of the cached
appplication modules.
This method will ignore any retainAM=true or retainAM=false as a URL parameter or
as part of parameters
While executeQuery function is used for executing the VO query so that it can fetch
the data from database into VO cache.
Model: Application Module, View Objects, View Links, Entity Objects, Entity
Associations etc.
38) If we have to initialize something during the page loading, which is the
right place?
For a POST request the data on the page is binded to the view object in this
method
OAController is the main class and our controller will become subclass of it.
43.Where does the client BC4J objects get placed in the server?
44.Where does the server BC4J objects get placed in the server?
They are the VVOs used in validation of attributes, they are the BC4J components
and have their AM ie VAM Validation Application Module
For 11i, Jdeveloper 9i will be used and for R12 Jdeveloper 10g will be used.
It is a .dbc file which is specified in the project properties. The location of this file
on the server is $FND_TOP/secure
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
51. What is an entity object?
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
OAPageContext object is passed to every request, using this object the controller
initializes the application module object and will call the required methods.
55. What is the property to set for an AM so that the transaction state is
maintained across pages?
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
Extension is the changing of the existing components for adding more features or
customer required features. View Objects, Controller, Application Module can be
extended.
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
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.
63. What are the different layers of onion reuse object model in OAF?
The hierarchy is as :
Controller (XXCO.java)
|__
|__
|__
|_ Database
64. 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
None User has the develop the page, regions, controller etc here
66. 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.
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.
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.
69. 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 TOPs mds
directory. All the class files irrespective of TOP will be placed under $JAVA_TOP
which can be $COMMON_TOP/java
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
71. 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.
72. What is the default top region of any new page that you create?
PageLayout is the top level default region
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.
POST flow
Controller is the java file and can be associated to a complete OAF page or to a
specific region.
Automatic queries
Dynamic WHERE clauses
Commits
JSP Forwards
PR method is called when the page is getting rendered onto the screen
PFR method is called when we perform some action on the screen like click of
submit button or click on lov
1. Function Level
2. Localization Level
3. Site Level
4. Organization Level
5. Responsibility Level
7. Portlet Level
8. User Level
81) What is the difference between inline lov and external lov.
Inline lov is a lov which is used only for that particular page for which it was created
and cannot be used by any other page.
External lov is a common lov which can be used by any page. It is a common
component for any page to use it. It can be used by giving the full path of the lov in
the properties section External LOV of the item.
QueryBean is used to execute and return the results of a query on behalf of the
QueryPortlet application.
84) what is the difference between autocustomization criteria and result based
search?
Results based search generates search items automatically based on the columns
on the results table.
In Autocustomization search we need to set what all fields are required to display as
a search criteria.
Structured information contains both content (words, pictures, etc.) and some
indication of what role that content plays (for example, content in a section heading
has a different meaning from content in a footnote, which means something different
than content in a figure caption or content in a database table, etc.).
Customization is under direct user control. The user explicitly selects between
certain options. Using customization a user can:
Altering existing UI
Folder Forms
Do Forms Personalization
The application module which is associated with the top-level page region (the
pageLayout region) is root application module.
Hence ROOT AM gets loaded even before the time the substitutions definition from
MDS layer get worked out.
Ans: O is located in the View Layer which is responsible for presenting the data to
the user.
Ans: Inline lov is a lov which is used only for that particular page for which it was
created and cannot be used by any other page.External lov is a common lov which
can be used by any page. It is a common component for any page to use it. It can be
used by giving the full path of the lov in the properties section External LOV of the
item.
95.what is a Javabean?
Ans: JavaBeans is an object-oriented programming interface that lets you build re-
useable applications or program building blocks called components that can be
deployed in a network on any major operating system platform.
Ans: QueryBean is used to execute and return the results of a query on behalf of the
QueryPortlet application.
what is the difference between autocustomization criteria and result based search?
Ans: Results based search generates search items automatically based on the
columns on the results table.
In Autocustomization search we need to set what all fields are required to display as
a search criteria.
Ans: MDS is MetaData Service. When a web page is broken into small units like
buttons,fields etc they are stored in a database. These are not stored as binary files
but as data in tables. The data are present in JDR tables. MDS provides service to
store & return page definitions. MDS collects those definitions in components/fields
in a meaningful manner to build a page.
The AM should not be retained for two independent pages, especially if they have
common VOs which fetch different result sets. In such cases, retaining the AM may
not remove the cache of VOs and so the result may not be as expected.
Ans: The basic intention of the breadcrumb is to let the user know of the navigation
path he took to reach the current page.
100) How do you find right jdev patch for your oracle application version.
101) What are the tools you had used for decompiling java class?
Ans: Jad is one of the tool for decompiling the java class.
105.What is a HGrid?
Ans: A HGrid, otherwise known as a hierarchy grid, allows users to browse through
complex sets of hierarchical data.
106. Tell me the OAF components required for a simple search page?
Ans: VO,AM,Page
Ans: processForRequest
processRequest
Ans: EO.
Ans: if
(update1.equals(pageContext.getParameter(OAWebBeanConstants.EVENT_PAR
AM)))
Ans: When you want to display buttons on top and bottom of the page then you
create a region as pageButtonbar and create buttons within this region.
Ans: PageLayoutRN
117.What are all the several ways to debug an OAF based application?
Ans: We can use the debugger option .Set breakpoints and run the page in debug
mode.
Ans: If you set the property to True it shows that there will no validation that will
occur on the web tier as part of the form submit.
121.What is SPEL?
Ans: SPEL is used in places where you want to show or hide an item
programatically.
123.What is PPR?
Ans: PPR is Partial Page rendering. Which means that only a particular part of the
page is refreshed and not the entire page.
[*]Required/Optional[/*]
[*]Disabled/Enabled[/*]
[*]Read only/Updatable[/*]
124. How do you generate stack of exception and display the list of error
messages in OAF page?
4.Click on Profiles.
6.In the results you will see Personalise Self-Service Defn.Update it and enter Yes in
the Site Value
130. Where to locate the definition of standard OAF Pages and regions?
setEmployeeId(employeeId);
Ans: To copy multiple rows you can add the multipleSelection item for the
table.Check which row is selected and write code for implementing this.
Ans: With the transaction unit identifier, you can indicate when a specific UI task
begins and ends, and if the user navigates in an unexpected manner such as using
the browser Back button. You can check the transaction unit status and react to
ensure that inappropriate actions are not performed and unwanted data in the BC4J
cache is not committed.
Ans:
pageContext.forwardImmediately(OA.jsp?page=/xxch/oracle/apps/fnd/test/webui/De
tailsPG&fname=+fname.
Ans: pageContext.getOANLSServcies().formatCurrency(num,USD);
Ans :
SubRequest Set to TRUE if the request is submitted from another running request
and has to be treated as a sub request.
Example:
Ans :
VO extension will take of viewlink by itself So we can extend this VO as usual VO
Extension.
Ans:
Step 1 : Right click on Entity Object(EO) and click on Synchronize with DataBase..
Step 2 : Double Click on the EO, Click on Attributes in the left Panel and then Click
on New from Table.
Ans:
Ans:
OAApplicationModule am = oapagecontext.getApplicationModule(oawebbean);
Ans:
Ans:
Ans:
Validation View Object A view object created exclusively for the purpose of
performing light-weight SQL validation on behalf of entity objects or their experts.
Entity Expert A special singleton class registered with an entity object (EO) that
performs operations on behalf of the EO.
Attribute Set Bundles of region or item properties that can be reused either as is or
with modifications. For example, all buttons sharing the same attribute set would
have the same label and Alt text.