Monday, 18 March 2013

ADF Exams questions and so possible interview questions

******************************************************************************
These are ADF Exams questions and so possible interview questions
In blue I ll try to give some possible answers or "sources for answers".


Introduction to Fusion and ADF
[  ]Describe Fusion Architecture
Check: Check Part I Chapter 1 : What Is Fusion? in  Oracle JDeveloper 11g Handbook (reference: http://www.amazon.co.uk/Oracle-JDeveloper-11g-Handbook-Development/dp/B001NLL53Q/ref=sr_1_4?ie=UTF8&s=digital-text&qid=1294509536&sr=8-4)

[  ]
Explain how ADF fits into the Fusion architecture
The ADF is the framework used to build Fusion Web Apps.
The Oracle Application Development Framework (Oracle ADF or just ADF) is a meta-framework
that fulfills the core requirements for a framework as outlined in the preceding section. ADF
integrates a mix of subframeworks to provide the key functions for object-relational mapping and
other forms of service access, data bindings, and user interface, along with the functional glue to
hold it all together (reference: http://www.amazon.co.uk/Oracle-JDeveloper-11g-Handbook-Development/dp/B001NLL53Q/ref=sr_1_4?ie=UTF8&s=digital-text&qid=1294509536&sr=8-4)

This chapter describes the architecture and key functionality of the Oracle Application Development Framework (Oracle ADF) when used to build a Fusion web application that uses Oracle ADF Business Components, Oracle ADF Model, Oracle ADF Controller, and Oracle ADF Faces rich client, along with high-level development practices. Check: http://download.oracle.com/docs/cd/E15523_01/web.1111/b31974/intro.htm#insertedID0
[  ]
Describe the ADF technology stack (MVC)
Check: http://download.oracle.com/docs/cd/E15523_01/web.1111/b31974/intro.htm#BHCFFJHC
[  ]
Identify sources of additional information about ADF and ADF Business Components

  • Check "Resourses" in the bottom of the blog and also posts with Resource label 



Getting Started with JDeveloper
[  ]
Describe benefits that JDeveloper provides for application development
Check: http://www.oracle.com/technetwork/developer-tools/jdev/jdeveloper11g-datasheet-1-133040.pdf
[  ]Utilize common IDE mechanisms when developing and testing components
[  ]Set IDE preferences based on user requirements
[  ]Initiate the creation of empty applications, projects, and connections in JDeveloper



Building a Data Model with ADF Business Components
[  ]Describe the role of ADF Business Components in building a business service

[  ]Explain the architecture of ADF BC

Oracle ADF Business Components is a framework implements the Business Services layer on top of a data source in a declarative way. It provides out-of-the-box services such as transaction management, resource pooling, locking, declarative validation rules, translation, and object-relational mapping. 
To use Oracle ADF BC, you use wizards in JDeveloper to create:
  • Application Module
    • An application module is a service component that UI or Web Service clients use to work with application data. It defines an updatable data model and top-level procedures and functions (called service methods) for a logical unit of work related to an end-user task. To simplify the task of implementing your services, you leverage a set of business components like entity objects and view objects.
    • You can enable a service interface on any Application Module. The service interfaceexpose Application Modules as remotable services allowing third-party applications to find, create, update and delete business information using standard web services protocols. All of the business validation rules encapsulated in your Entity Objects are automatically enforced through this service interface as well.
    • You can use any application module both as a local component and as remotely-accessible service. This allows you to support both interactive Web user interfaces as well as programmatic Web-service clients with the same component.
  • Entity object
    • An entity object represents a row in a database table and simplifies modifying its data by handling all DML operations for you. It can encapsulate business logic for the row to ensure your business rules are consistently enforced. You associate an entity object with others to reflect relationships in the underlying tables to create a layer of business domain objects to reuse in multiple applications.
  • View object
    • view object represents a SQL query and simplifies working with its results. You declaratively join, project, filter, sort, and aggregate entity object data into exactly the "shape" required by the end-user task at hand, including the ability to link a view object with others to create master/detail hierarchies of any complexity. When users modify business data using a view object, that component automatically collaborates with entity objects to consistently validate and save the changes.
The following diagram illustrates the relationship among application module, entity object, and view object. A view object defines a query and produces a row set of rows. View objects and entity objects collaborate to enable an updatable data model. Application module contains view objects and it provides transaction.









Sunday, 17 March 2013

oracle adf interview questions and answers - Part One

JDeveloper IDE General

-->
  • What are commonly used keyboard shortcuts in the editor?
  • How do I write JDeveloper extensions?
  • Can I change the default IDE font size?
    • Why would I choose Subversion over CVS for my file version control system in JDeveloper?
    • What happens when I delete a workspace or project in 10.1.3?
    • The page WSIWYG design editor doesn't show my page's components, it just shows a bunch of boxes

    ADF General

    • What do I modify ADF to set dbms_application_info for the database session so DBAs can monitor performance of my application?
    • What's the difference between ADF and OAF?

    ADF Business Components

    • (This link has been lost via the removal of OraBlogs. Contact Frank Nimphius for assistance in retrieving this post)
    • Is there a better way to rollback inserts and edit changes?
    • Does ADF support Oracle Flashback queries?

    JavaServer Faces (JSF)

    • Rather than a JSF sessionScope or requestScope, how do I implement a pageScope in JSF 1.x?
    • How do I implement a progress indicator for slowing running operations?
    • What changes to ADF Faces\RC does JDeveloper's support for JSF1.2 deliver?

    ADF Faces


    • How to I create a delete record facility for each record in an ADF Table?
    • How do I populate an af:tree component programmatically?
    • Can I prevent keyboard navigation to a rendered component?
    • How to display an open file dialog and upload a file from the UI?
    • Is it possible to change the color of values in a table?

    ADF Faces Rich Client (RC)

    • How do I implement templating in ADF Faces RC?
    • How do I work with the drag and drop features in ADF Faces RC?
    • Can ADF Faces RC work with JavaScript?
    • How do I remove that annoying spinning Oracle logo?
    • How does the user's experience with ADF Faces RC differ from ADF Faces?
    • The client insists field level validation errors should stop the user from moving out of the field, how can I do this?

    Security


    • How do I reference the current user in my components/backing beans/ADF BC application module?
    • Can I use database tables for authentication?
    • Can I use database users for authentication?

    Deployment

    • What do I need to worry about when deploying my ADF application?

    Version Control


    HTTPAnalyzer


    • How do I configure JDeveloper's HTTP Analyzer?

    Caching

    • What deployment issues can caching solve?

    Product integration

    • How do I integrate technology X, Y, Z with JDeveloper or ADF?

  • eful.