Monday 25 February 2013

Oracle ADF Interview Questions and Answers for Experienced

1 Q) what is oracle ADF?
Ans:
Oracle ADF is an commercial java/j2ee Framework Used to build Enterprise Applications.

2 Q)What are the advantages of using ADF?
Ans:

  •   It supports Rapid Application  Development.
  • It is based on MVC architecture
  • Declarative Approach (XML Driven)
  • Secure
  • Reduces maintenance cost and time
  • SOA Enabled  
3 Q) What are various components in ADF?
Ans :
 Oracle ADF has following components
  1. ADF Business Components(Model)
  2. ADF Faces (View)
  3. ADF Taskflows(Controller)
4 Q)What is the return type of Service Methods?
Ans :
Service Methods can return Scalar

5 Q)Can Service Methods return type Void?
Ans :
Yes, Service Methods can Return type Void



6 Q)Can Service Methods return Complex Data types?
Ans :
No, service methods can return only primitive/scalar data types.


7 Q)Which component in ADF BC manages transaction ?
Ans :
Application Module, manages transaction.

8 Q) : Can an entity object be based on two Database Objects(tables/views) or two Webservices ?
Ans :
No entity objects will always have one to one relationship with a database object or web service.


9 Q)Where is that we write business rules/validations in ADF and why?
Ans :
We should be writing validations at Entity Object level, because they provide highest degree of reuse. 


10 Q)What is Managed Bean?
Ans :
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.


11 Q)What are Backing Bean?
Ans :
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.

12 Q) What is difference between managed and backing beans?
Ans :
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.


13 Q)What is a Taskflow?
Ans :
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.


14 Q)What are the different types/categories of Taskflows ?
Ans :
Taskflows are of two categories : Bounded and UnBounded.


15 Q)What is the difference between Bounded and UnBounded taskflows?
Ans :
Differences between Bounded and UnBounded taskflows :

  • Bounded taskflows can be secured but Unbounded can’t.
  • Bounded taskflows can accept parameter and return values but unbounded taskflows don’t support parameters
  • Bounded taskflows has a single entry point or a default activity but unbounded taskflows have multiple entry points.
  • Bounded taskflows can be called from other bounded/unbounded taskflows but unbounded cannot be called or reused.
  • Bounded taskflows support transactions unbounded don’t
16 Q)What are the various access scopes supported by ADF?
Ans :
ADF Faces supports the following scopes

  1. Application Scope
  2. Session Scope
  3. PageFlow Scope
  4. Request Scope
  5. BackingBean Scope.

17 Q)Describe life cycle of a ADF Page?
Ans :
ADF page is an extension of JSF and has
following phases in its lifecycle
Initialize Context: 
 In this phase the adf page initializes the LifecycleContext with information that will be used during the Lifecycle.
Prepare Model: In this phase ui model is prepared and initialized. In this phase page paramenters are set and methods in the executable section of the page definition of the ADF page are executed.
 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.

  • Validate Input Values:  This phase validates the values that were built in the Apply input values phase
  • Update Model:  Validated values supplied from user are sent to ADF business components data model
  • Validate Model Updates:  In this phase the business components will validate user supplied values.
  • Invoke Application:  This phase will process the ui events stack built during the life cycle of page and also fire navigational events
  • Prepare Render:  This is the final phase where HTML code is generated from the view tree.                               

6 comments:

  1. This comment has been removed by a blog administrator.

    ReplyDelete
  2. Great,these r helpful but some more

    ReplyDelete
  3. Thanks a lot for sharing a great blog I was just browsing through the internet looking for some information and came across your blog. I am impressed by the information that you have on this blog. It shows how well you understand this subject. Bookmarked this page, will come back for more keep going on it helped me a lot I have gained a lot of knowledge by reading your blog.

    oracle adf training
    oracle adf online training
    oracle adf 11g training
    Oracle adf 12c training
    oracle adf training online

    ReplyDelete
  4. I feel really happy to have seen your webpage and look forward to so many more entertaining times reading here.Same as your blog i found another one Oracle Fusion Financials.Actually I was looking for the same information on internet for Oracle Financials Cloud and came across your blog. I am impressed by the information that you have on this blog. Thanks once more for all the details.


    ReplyDelete