3
Blog about the Java and Oracle Technologies Amit Sharma's Blog Amit Sharma's Blog THURSDAY, JANUARY 17, 2013 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 ADF INTERVIEW QUESTION - PART 2 Amit Sharma mumbai, Maharastra, India I am working on JDeveloper and ADF from past 4 year Here i am sharing my JDeveloper Experience that may help other people. Everybody is welcome here, post your queries here i'll be glad to solve them. View my complete profile ABOUT ME Search There was an error in this gadget LINKEDIN PROFILE TRANSLATE 2013 (9) September (2) August (1) March (1) January (5) How to change view criteria at run time Oracle ADF Interview question Part 3 ADF Interview Question - Part 2 Oracle ADF Interview Question Part- 1 Default value to view attribute using other attrib... 2012 (12) 2010 (7) BLOG ARCHIVE FOLLOWERS FACEBOOK BADGE TOTAL PAGEVIEWS 4 8 5 6 4 Share this on Face Tweet this View stats (NEW) Appointment ga SHARE IT 3 AMAZON Share 0 More Next Blog» Create Blog Sign In converted by Web2PDFConvert.com

adf knowledge booster and interviev preperator

Embed Size (px)

DESCRIPTION

adf interview and knowledge boost

Citation preview

  • Blog about the Java and Oracle Technologies

    Amit Sharma's BlogAmit Sharma's Blog

    THURSDAY, JANUARY 17, 2013

    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 taskflowas 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 EntityObjectViewObject Based on sql queryViewObject based on static dataProgramatic 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. Thatrelationship can be created using the viewlink or association between entity Object. using that relationship you can create themaster 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 whichrepresent 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 willget 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 submitwhole 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 pagewe 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 andagain.

    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 alwaysUse 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 andmodel project. Model project is the Business Services which usually have ViewObject, EntityObject, ApplicationModule, ViewLink, 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 whichyou 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 canpass you iterator to Declarative component. You have to write the logic to get data from iterator and display on componentsame 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 beignoredsince 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

    ADF INTERVIEW QUESTION - PART 2

    Amit Sharmamumbai, Maharastra, IndiaI am working on JDeveloper andADF from past 4 year Here i amsharing my JDeveloper

    Experience that may help other people.Everybody is welcome here, post yourqueries here i'll be glad to solve them.View my complete profile

    ABOUT ME

    Search

    There was an error in this gadget

    LINKEDIN PROFILE

    TRANSLATE

    2013 (9) September (2) August (1) March (1) January (5)

    How to change view criteria at run timeOracle ADF Interview question Part 3ADF Interview Question - Part 2Oracle ADF Interview Question Part- 1Default value to view attribute using

    other attrib...

    2012 (12) 2010 (7)

    BLOG ARCHIVE

    FOLLOWERS

    FACEBOOK BADGE

    TOTAL PAGEVIEWS

    4 8 5 6 4

    Share this on FacebookTweet this

    View stats (NEW) Appointment gadget >>

    SHARE IT

    3

    AMAZON

    Share 0 More Next Blog Create Blog Sign In

    converted by Web2PDFConvert.com

  • Posted by Amit Sharma at 8:19 PM

    Labels: ADF, ADF Interview question

    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 ifthe 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 beshown.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 thesearch icon inquickQuery 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

    Recommend this on Google

    4 comments:

    ramkumar kuruba June 19, 2013 at 5:27 AM

    hi amitpost part-2 answers

    Reply

    Anonymous July 11, 2013 at 11:20 AM

    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.

    Reply

    Tata Venkat Guru September 12, 2013 at 1:26 AM

    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 someof the files gets created inside Application Resources, Inside that we will find jazn-data.xml file, once we open that file wecan have access to create the user profiles, Application Roles and Enterprise roles, So your application level roles isassigned to the users whom ever are created in your user profile, So each and everything from user roles to enterpriseroles your are giving inside your jazn-data.xml file.

    Reply

    rafi shaik October 29, 2013 at 12:49 AM

    hi Amit...i have a questionI created a table and i created taskflow which has a router activity to show the table of details ..in that i created users injazndata.xml with the usernames of table i created ..How to show the user specific data in the table..Could u please tellme the logic behind it to get the requirement...if u can please u can mail me at...gmail: " [email protected] "...If anybody please reply to this..

    Amit Sharma

    Create Your Badge

    FACEBOOK BADGE AMAZONCONTEXTUALPRODUCT ADS

    VISITOR'S

    VISITORS LIVE

    ADF (20)

    JDeveloper (7)

    LABELS

    Oracle ADF Interview Question Part- 1Oracle ADF Interview question Part 1 Q1.What is Oracle ADF? Ans : OracleApplication Development Framework, usuallycalled Ora...

    ADF Interview Question - Part 2ADF Interview Question - Part 2 Q29 What isthe different between Action andActionListener? Ans : ActionListener :ActionListene...

    Parent Action Activity in ADF Bounded TaskFlowEffective use of Parent Action Activity Here inthis post I am explaining the way of UsingParent Action Activity. Using Parent Acti...

    Oracle ADF Interview question Part 3Oracle ADF Interview question Part 3 Q52How to save custom property in ADF? Q53

    POPULAR POSTS

    converted by Web2PDFConvert.com

  • Newer Post Older PostHome

    Subscribe to: Post Comments (Atom)

    Enter your comment...

    Comment as: Select profile...

    PublishPublish

    PreviewPreview

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

    thank you....

    Reply

    How to generate id from seq usignEntityObject ...

    How to disable adf default row selection in?How to disable adf default row selection in? Problem Definition In day to daydevelopment we faced common issue with ...

    Mobile ADF: Webservice CallUsing Oracle ADF MobileFramework (Android)Web-service Call Using OracleADF Mobile Framework

    (Android) Writing web service I have writtena simple webservice which will...

    Change ADF Default Error MessagesHow to change ADF default messages Theseare some requirement on which we want tochange the default adf error messages. Iam...

    Oracle ADF Mobile AppOracle ADF Mobile App Greatnews Oracle released firstversion of Oracle ADF Mobileframework. This is the only

    framework in which you ...

    JDeveloper Extension forGenerating Hibernate Units.I am working on the JDeveloperExtension project to makehibernate development work a

    little bit easier. I have creating Extension forJDev...

    Select Once Choice inside ADFQuery Referencing Parent tableHere By this sample I amexplaining the way of using ADFSelectOneChoice inside

    Af:Query component as a reference toparents table. In that ...

    LIVE ACTIVITY

    Live Traffic Feed

    A visitor from Houston, Texasviewed "Amit Sharma's Blog: ADF Interview Question- Part 2" 1 secs ago

    A visitor from Chennai, Tamil Naduarrived from amit-adf-work.blogspot.in and viewed"Amit Sharma's Blog: ADF Interview Question - Part2" 24 secs ago

    A visitor from Houston, Texasviewed "Amit Sharma's Blog: Oracle ADF InterviewQuestion Part- 1" 2 mins ago

    A visitor from Chennai, Tamil Naduviewed "Amit Sharma's Blog: Oracle ADF InterviewQuestion Part- 1" 4 mins ago

    A visitor from Marietta, Georgiaarrived from google.com and viewed "Amit Sharma'sBlog: Oracle ADF Interview Question Part- 1" 7 minsago

    A visitor from Miamisburg, Ohioarrived from google.com and viewed "Amit Sharma'sBlog: How to use JPA using data-source on tomcat?"49 mins ago

    A visitor from Chennai, Tamil Naduviewed "Amit Sharma's Blog: Oracle ADF InterviewQuestion Part- 1" 1 hr 24 mins ago

    A visitor from Bangalore, Karnatakaarrived from google.co.in and viewed "Amit Sharma'sBlog: Oracle ADF Interview Question Part- 1" 3 hrs36 mins ago

    A visitor from Alhambra, Californialeft "Amit Sharma's Blog: Oracle ADF InterviewQuestion Part- 1" via blogger.com 3 hrs 58 mins ago

    A visitor from Alhambra, Californiaarrived from google.com and viewed "Amit Sharma'sBlog: Oracle ADF Interview Question Part- 1" 4 hrs 1min ago

    R e a l - t i m e v i e w M e n u

    Picture Window template. Powered by Blogger.

    converted by Web2PDFConvert.com