Thursday, January 17, 2013

ADF Interview Question - Part 2



ADF Interview Question - Part 2


Q29 What is the different between Action and ActionListener?
Ans : ActionListener: ActionListener is the method which got invoked when user click on the component like button, commandlink etc.
Action: Action is the outcome of where you want to move once actionlistener is completed. This can be define in the taskflow as activity.  So when listener completed application is redirected to define activity.
 
Q30 How many kind of VO supported by Oracle ADF?
Ans : ADF support 4 type of view Object 
  • ViewObject Based on EntityObject
  • ViewObject Based on sql query
  • ViewObject based on static data
  • Programatic View Obejct.
Q31 how to develop  Master-details view in adf?
Ans: For Developing the Master-details view in ADF. You have to created the relationship between 2 viewobject. That relationship can be created using the viewlink or association between entity Object. using that relationship you can create the master details view of data. That master details view can be Form-Form, Form-Table, Table-Table, Table-Form.
Q32 what is view criteria, how can you change view criteria at runtime?
Ans: View Criteria is defined by for effective searching of data. By using this criteria we can created search panel which represent all queryable attribute. 
For changing the view criteria at runtime you just have to make attribute as queryable true or false. Based on that attribute will get display in the search panel at run-time. 

Q33 What is ppr in ADF?
Ans: PPR means Partial Page Rendering. It means that in ADF we can refresh the portion of page. We don't need to submit whole page for that.
 
Q34 What are the ADF templates how they are differ from simple jspx and jsff page?
Ans: ADF templates are the template for pages. we can place common layout in template so whenever we create the page we will select the appropriate template. Page layout will be consistence across the pages.
Page template can also used to have common functionality like some button so you dont have to create them again and again.

Q35 How can you manage transaction in ADF?
Ans: In ADF transaction can we manage at ApplicationModule as well as taskflow level.
Task flow support different mode of transaction like:
  • Start new transaction always
  • Use Existing Transaction   
Q36 What is the model in ADF MVC?
Ans : Model in ADF application is the bindings context and bindings container. Very confusing thing here is about model and model project. Model project is the Business Services which usually have ViewObject, EntityObject, ApplicationModule, View Link, Association.
Q37 How can you define custom component?
Ans: There is multiple way of creating the custom component
  1. Declarative :Using this way you can create jspx page with adf components and provide property and methods which you want to expose to client.
  2. Extending Component: You can extends you existing component to define custom component.
Q38 Can you use view object inside custom component defination?
Ans: Use of datamodel inside the Declarative components is not allowed by adf. But there is work around for that you can pass you iterator to Declarative component. You have to write the logic to get data from iterator and display on component same logic you can use to retrieve data from component and set that to iterator.
Q39 What are the different trigger type for af:popup?

Event Type
Component Family
Description

action
Command
Fires when user triggers the command component.
Owning component's server-side action listeners will be ignored
since the event will be canceled.

contextInfo
ContextInfo
Fires when user clicks the icon in a contextInfo

dialog
Dialog
Fires when user clicks dialog OK/Cancel buttons

disclosure
ShowDetail
Fires when disclosure state is toggled

inlineFrameLoad
InlineFrame
Queued when the internal iframe fires its load event

load
Document
Fires when the document finishes loading

fetch
Popup
Content fetch event fired before opening if
the content delivery of the popup is lazy or lazyUncached.
This is the first of two events required for content delivery.

contentLoaded
Popup
Partial content delivery has been delivered to the browser.
This event notifies the popup component that it can be shown.
Second content delivery event.
popupOpening
Popup
Fired prior to opening a popup
popupOpened
Popup
Fired after popup is opened
popupClosed
Popup
Fired after popup is closed
query
Query
Fired when a query action happens(when user clicks the search icon in
quickQuery or the search button in the query component)
rowDisclosure
Tree, TreeTable
Fired row disclosure state is toggled
selection
Table, Tree, TreeTable
Fires when selection state changes
sort
Table
Fires when user sorts data
valueChange
Input, Select\*
Fires when the value of an input control is changed
 
Q40 How to define multiple ActionListener for single ADF component?
Q41 How to enable security to ADF Application?
Ans : 1. Go to the menu Application -> Secure -> Cofigure ADF Security and go through the wizard of creating login pages.
2. Go to the menu Application -> Secure -> Application Roles and create an application role for this application.
3. Create a test user and assign an applicaiton role to it.
4. Grant all required application resources to this role.
Q42 Which file holds the details of users and groups in adf?
Q43 How to create Jdeveloper compatible libraries?
Q44 How to connect standalone weblogic instance from jdeveloper?
Q45 How to deploy application to standalone weblogic instance from jdeveloper?
Q46 What are the MDS(MetaData Services)?
Q47 What is user customization?
Q48 What is seed customization?
Q49 What are different kind of MDS you configured?
Q50 Which file hold details of configured MDS?
Q51 What are the steps to configure MDS?

Previous                                           Next

15 comments:

  1. Q41 How to enable security to ADF Application?
    1. Go to the menu Application -> Secure -> Cofigure ADF Security and go through the wizard of creating login pages.
    2. Go to the menu Application -> Secure -> Application Roles and create an application role for this application.
    3. Create a test user and assign an applicaiton role to it.
    4. Grant all required application resources to this role.

    ReplyDelete
  2. Q42 Which file holds the details of users and groups in adf?
    Answer:
    Users and Groups we usually create in Security part at the time of enabling security on your application by default some of the files gets created inside Application Resources, Inside that we will find jazn-data.xml file, once we open that file we can have access to create the user profiles, Application Roles and Enterprise roles, So your application level roles is assigned to the users whom ever are created in your user profile, So each and everything from user roles to enterprise roles your are giving inside your jazn-data.xml file.

    ReplyDelete
  3. hi Amit...i have a question
    I created a table and i created taskflow which has a router activity to show the table of details ..in that i created users in jazndata.xml with the usernames of table i created ..How to show the user specific data in the table..Could u please tell me the logic behind it to get the requirement...if u can please u can mail me at...gmail: " rafiadf87@gmail.com "...
    If anybody please reply to this..
    thank you....

    ReplyDelete
  4. Pretty good post. I just came across your site and wanted to say that I’ve really enjoyed reading your posts. In any case I’ll be subscribing to your feed and I hope you will keep a good work!Cheer!

    sap online training
    software online training
    sap sd online training
    hadoop online training
    sap-crm-online-training

    ReplyDelete
  5. This is one awesome blog article. Much thanks again.
    I really enjoy the blog.Much thanks again. Really Great.


    oracle online training
    sap fico online training
    dotnet online training
    qa-qtp-software-testing-training-tutorial

    ReplyDelete

Thanks for your valuable comment. You comment will go live soon.