Sunteți pe pagina 1din 4

Q1.

You wish to hide a bean/field programmatically, where will you do that?


In Controllers ProcessFormRequest method
Q2.
Difference between Personalization and Extensibility?
Personalization is declaratively changing the UI and adding new components.
Extensibility is programmatically changing the functionality and sometimes business logic by
extending the standard BC4J components.
Q3.
What are BC4J components?
As far as I know BC4J is a framework which gives us a set of tools to Java developers to create
and manage reusable Java components. BC4J offers a standards-based, server-side Java and
XML framework for developers who build and deploy reusable business components for highperformance Internet applications, such as e-commerce and business-to-business systems.
Applications which are created by using BC4J comprise five basic framework components,
namely, Entity Objects, Associations, View Objects, View Links, and Application Modules. Each
of these components is interrelated to the other components, thereby enabling you to establish
views into database tables. You can combine, filter, and sort data as needed.
Q4.
Tell me practical steps for extension of a view object, starting from $JAVA_TOP to jDeveloper
1.

Copy all the related class files from $JAVA_TOP

2.
In order to do the step1 you need to analyze the page you want to extend
using the About this page link
3.

Create a new package in Jdeveloper to hold the extended BC4J components.

4.
Create a new View Object and in the wizard in the extends field, you have to
give the original view object name
5.
a.
If it is non expert mode, move the newly required attributes using the
shuttle component.
b. If is expert mode, copy the query of the super class, add it in the
subclass and make necessary changes.

6.

Save this view object

7.

Define a substituiion
a.
Select the new viewobject in application navigator panel. Right click
and get to project properties>> Business Objects>> substitution
b. Select the base view object in Available list and new view object in
Substitution list and then Add and save.
c.

8.

By doing this you can see your substitution in jpx file

Deploy the jpx file using jpximport utility.

Q5.
Please tell me the scenario in which extension to View Object is not upgrade safe?
When we extend the expert mode(qry mode) and if oracle changes the base qry
then we will have problems.

Q6.
How do you disable all the OA Framework personalizations in eBusiness Suite
1.

Disable Personalizations profile option.

2.

Jdr_utils.delete_personalizations

3.

Using Functional Administrator to delete personalizations.

Q7.
How do you disable all the OA Framework extensions.
1. OAF extensions are also disabled in the same manner as above. OAF
extensions are stored in MDS layer.
Q8.
In Oracle Forms, we have WHEN-VALIDATE-RECORD? What will be the
equivalent to that in OAFramework?
validateEntity method of Entity object,
Q9
On any given OA Framework page, what is the sequence in which these methods will
fire in a Controller? processFormData processRequest processFormRequest

1.

processRequest

2.

processFormData

3.

processFormRequest.

Q10
What are different methodologies that you can consider to default value into a field?
1.

If it is a static value, then you can always set the fields Default Value property

2.

You can set it programmatically using the setDefaultValue method of the bean.

3. You could default a value on the ViewObject definition for the attribute. You
would do this if you wish to provide some value that is specific to a VO and not to an
EO
4. You could default a value on the Entity Object definition for the attribute if this is
common to all VO's that are based on it

Q11: How do you enable a pop-up screen in OA Framework [without using


javaScript]?
Use link item to set the destination URI and targetFrame = _blank to open the URL in
new page.
Q12
Why do we have to use multiple AMs.
While I was trying to register a Customer, I have a link which will take me to create a
Customer Contact. Creating a Customer can be a different transaction than that of
creating the Customer Contact. In this case, if I get an exception while creating the
customer contact and I had to rollback the contact creation, then this rollback should
not roll back my customer registration process. Hence we use different AMS for
Contact creation and Customer registration so that a rollback in contact creation AM
will not affect the Customer Registration.

S-ar putea să vă placă și