It Supports Rapid Application Development. It Is Based On MVC Architecture Declarative Approach (XML Driven) Secure Reduces Maintenance Cost and Time SOA Enabled
It Supports Rapid Application Development. It Is Based On MVC Architecture Declarative Approach (XML Driven) Secure Reduces Maintenance Cost and Time SOA Enabled
Secure
SOA Enabled
Q : What are various components in ADF?
A : Oracle ADF has following components
ADF Taskflows(Controller)
Q : What is the return type of Service Methods?
A : Service Methods can return Scalar or Primitive Data types.
Application Scope
Session Scope
PageFlow Scope
Request Scope
BackingBean Scope.
Q : Describe life cycle of a ADF Page?
A : ADF page is an extension of JSF and has following phases in its lifecycle
1.
2.
3.
4.
5.
6.
7.
8.
Entity Based ViewObject: These viewobejct will hold the reference of underlying
entity. These view object can hold data from single or multiple entities. While defining
Viewobject based on Entity you can select the attribute which you want to keep in
entity.
SQL Based ViewObject: These ViewObejct are based on sql quarries. These
viewobejct will have underlying SQL Query. At runtime they will hold data return by
SQL.
Programatic View Object: User can define the view attribute which defining
viewobejct. Data will insert programmatically into these ViewObject.
Static ViewObject : While defining user will define attribute for view and in later he
has to provide the values for those attribute. These kindof viewobejct will have fixed
no of rows.
Q7 What is Association in ADF?
Ans: Association represent the relationship between 2 and more tables like foreign key
relationship. If you create Entities from database association will automatically got created
for entity. User can also define custom association if there is no foreign-key is define in
database. In this way user can handle foreign key in ADF application and can remove
overhead from database.
Q11 What are the different kind of resource bundle supported in ADF?
Ans: ADF support different types of resource bundle which are as follows:
Property file based (txt file which contains key-value pair)
xliff file based (xml file which contains key-value pair)
List Resource bundle
Q12 How to provide common resource bundle for entire proejct?
Ans: Go to property file of you Project and select resouce bundle
From here you can select one bundle for entire project.
Q13 How to provide separate resource bundle for each jsff/jspx?
Ans: Refer Q 12 answer there is option using that you can select One Bundle per
file.
Q14 What is the difference in jspx and jsff?
Ans: jspx and jsff file are same in most of manner. Only difference is that you can run jspx
directly on browser while jsff file container which will run on browser.
Component
Family
Description
action
Command
contextInfo
ContextInfo
dialog
Dialog
disclosure
ShowDetail
inlineFrameLoad InlineFrame
load
Document
fetch
Popup
contentLoaded
Popup
popupOpening
Popup
popupOpened
Popup
popupClosed
Popup
query
Query
rowDisclosure
Tree, TreeTable
selection
Table, Tree,
TreeTable
sort
Table
valueChange
Input, Select\*
Secure
SOA Enabled
Q : What are various components in ADF?
A : Oracle ADF has following components
ADF Taskflows(Controller)
Q : What is the return type of Service Methods?
A : Service Methods can return Scalar or Primitive Data types.
Q : Can Service Methods return type Void?
A : Yes, Service Methods can Return type Void
Q : Can Service Methods return Complex Data types?
A : No, service methods can return only primitive/scalar data types.
Q : Which component in ADF BC manages transaction ?
A : Application Module, manages transaction.
Q : Can an entity object be based on two Database Objects(tables/views) or two
Webservices ?
A : No entity objects will always have one to one relationship with a database object
or web service.
Q : Where is that we write business rules/validations in ADF and why?
A : We should be writing validations at Entity Object level, because they provide
highest degree of reuse.
Q : What is Managed Bean?
A : Managed bean is a java class, which is initialized by JSF framework. It is primarily
used to hold view and controller logic. It is also used to execute java code to be
executed on a user action like Button Click.
Q : What are Backing Bean?
A : Backing beans are those managed beans which have 1:1 mapping with a page.
They have getters and setters
for all the components in the related page.
Q : What is difference between managed and backing beans?
A : Backing bean has 1:1 relation with page whereas managed beans can be used in
multiple pages.
Backing beans scope is limited to the page whereas managed beans can have other
scopes too.
Q : What is a Taskflow?
A : Taskflow is the controller of an ADF application, it provides us an declarative
approach to define the control flow. It is used to define the navigation between
pages and various taskflow activites.
Q : What are the different types/categories of Taskflows ?
A : Taskflows are of two categories : Bounded and UnBounded.
Q : What is the difference between Bounded and UnBounded taskflows?
A : Differences between Bounded and UnBounded taskflows :
Bounded taskflows can accept parameter and return values but unbounded
taskflows dont support parameters
Application Scope
Session Scope
PageFlow Scope
Request Scope
BackingBean Scope.
Q : Describe life cycle of a ADF Page?
A : ADF page is an extension of JSF and has following phases in its lifecycle
1.
Initialize Context: In this phase the adf page initializes the LifecycleContext
with information that will be used during the Lifecycle.
2.
3.
Apply Input Values: This phase handles the request parameters. The values
from the HTML are sent to the server and applied to the page binding in page
definitions.
4.
Validate Input Values: This phase validates the values that were built in
the Apply input values phase
5.
Update Model: Validated values supplied from user are sent to ADF business
components data model
6.
7.
Invoke Application: This phase will process the ui events stack built during
the life cycle of page and also fire navigational events
8.
Prepare Render: This is the final phase where HTML code is generated from
the view tree.
Q : What is PPR and how do you enable Partial Page Rendering(PPR)?
A : PPR is a feature supported by ADF Faces, using which we can render a small
portion of a HTML Page, without refreshing the complete page.
It is enabled by.