18 December 2010

StackOverFlow.com: Another place to get some answers about ADF


Another place someone can find answers about ADF is StackOverFlow.com. Check for 


Of course, your No.1 priority in searching answers (*) about ADF  should always be the recommended ADF Community links referred in JDeveloper's home, mainly the:


StackOverFlow.com is an alternative because of the fact that people from different technologies reply there, so you can receive an answer from a different aspect. This might not help you in BC cos it is Oracle only tech, but you might find something good about ADF Faces (cos after all there are based upon existing techs like Javascript, JSF etc).





(*): by answers I mean to post a question and someone to answer it. In Oracle ADF related blogs like this one   you can find your answer but you only can ask something regarding a post and not something completely unrelated 

16 December 2010

Run a DB Procedure with PL/SQL in the DB

For Java originated ADF developers

Sometimes we need to run a PROC in DB to check if it works there. Below is a way.

Let's Call a PROC with 1st 2 params are IN and the 3rd is IN/OUT



code

--enable DBMS_OUTPUT
SET SERVEROUTPUT ON
DECLARE
  --Declare vars
  MY_NUM_VAR NUMBER;
  MY_STRING_VAR VARCHAR2(77);
  MY_DATE_VAR DATE;
BEGIN
  --set vars
  MY_NUM_VAR :=7; NUMBER;
  MY_STRING_VAR:='My Lucky Number;
  MY_DATE_VAR DATE:=NULL;

  --call the PROC. 1st 2 params are IN and the 3rd is IN/OUT
  MY_SCHEAMA.MY_PACKAGE.MY_PROCEDURE ( MY_NUM_VAR, MY_STRING_VAR, MY_DATE_VAR);
  
  --Print the var
  DBMS_OUTPUT.PUT_LINE(MY_DATE_VAR);
  --In case you want to commit
  --COMMIT;
END;

Resource: Recorded presentations for ADF from expert 2 experts

Check ADF Insider for recorded presentations about ADF from experts 2 experts!

"This page contains recorded sessions related to the advanced techniques with Oracle Application Development Framework. Check back regularly for updates by experts, for experts."




15 December 2010

Define your alternative format/pattern for af:inputDate

You want to input date in your page without using the ADF predefined pattern eg. 7/7/1977
but just writing 07071977
then
use  secondaryPattern="ddMMyyyy"

Also,
Check for Common patterns at  java.text.SimpleDateFormat.

Test if your pattern is valid, on the Online SimpleDateFormat Test.


Note: 
The Pattern and SecondaryPattern string of af:convertDateTime should respect the pattern syntax specified by the java.text.SimpleDateFormat.

Note2:
Of course you can also define pattern property, instead of taking it from bindings, but it is better to define it in the UI hints of VO attribute and access it from bindings.
Most probably the pattern in the VO's attr UI hints follows the above pattern syntax, too. Although the available formats are defined in formatinfo.xml (under JDev system dir), other values are accepted (eg. I remember using "yyyy-MM-dd hh:mm:ss" which is not specified in the  formatinfo.xml, but is a valid pattern).

Example:



Src:



14 December 2010

TROUBLESHOOTING: LOV in af:query automatically returns value if it has only 1 row

Problem
You have an af:query with an View Criteria attribute that has a LOV.
If this LOV has only 1 row then it will return automatically the value of that row to the View Criteria attr.
This is regardless of  the VC attr being required or not.
So even if you go and erase the value, when you select the next field, the LOV will populate it automatically.

Solution
There is no any. This is default ADF behavior (?!?)
If user want to clear the VC attr of the af:query must click Reset.

Src:
http://adfbugs.blogspot.com/2010/05/single-row-lov-in-query-criteria-bug.html

TROUBLESHOOTING: af:query does not search when in query field, String is used

This is an ADF newbie tip.

Problem
Let's say you got a af:query with one query field (of type String) and a result table (typical scenario).
You can search using Number but you cannot search (it brings everything) using String.
No error occurs.

Solution
The bind var of the query field is of type Number, which is the wrong type. Change it to String.

09 December 2010

TROUBLESHOOTING: "Low Memory Warning" of JDeveloper or How to tweak memory settings.

Last updated on: 14/12/2010
Here are the 2 well known tips to make JDeveloper use more mem, and workaround the "Low Memory Warning".


The files to modify
The following 2 files  must be modified

  • C:\Oracle\Middleware\jdeveloper\ide\bin\ide.conf
  • C:\Oracle\Middleware\jdeveloper\jdev\bin\jdev.conf

here I have used the default installation folder that is proposed by JDev. If you have another just search the 2 files in hte installaiton folder.

The mods
For ide.conf
Tweak the following lines

AddVMOption  -Xmx940M
AddVMOption  -Xms128M


For jdev.conf
Tweak
AddVMOption  -XX:MaxPermSize=356M

these are the setting I use and my jdeveloper.exe limits up to around 1200MB

Remember the limit of the mem that can me allocated to a java process in Windows is around 1.5Gigs.
These so if (Xmx + XX:MaxPermSize) around 1.5 gigs JDeveloper will not start and through a related jvm.dll error.


Note:
This is a common and old practice to increase memory of JDeveloper (back to the first days of 11g release when the mem leaks where creting pools of memory). These days are in to the past and the tool now behaves  almost ideally.

Note2 :
Also if you machine is really old, decreasing history of JDeveloper might help a lot.


Display only icon in LOV

IF you want to use an LOV but display only its icon then use contentStyle="display:none"

Keep af:inputText component width the same either when it is enable or read only

There is a nasty behavior on this component that which is to have different width when it is enable and when readonly. To fix this use contentStyle="width:70.0px property.



What is ContentStyle

According to JDevelopers help documentation ContentStyle is the style of the content piece of the component. You can style width by setting this attribute like this: width: 100px. 

06 December 2010

Prevent wrapping of af:column's header of an af:table

You should put to all columns headerNoWrap="true".  This also puts a shortDescription when the header is not clearly visible.


03 December 2010

CodeEditor: Configure wrapping margin when Reformat code is used

I just hate wrapping of code after 80 chars especially when today we have this wide screens that fit many more chars. So if you are like me try to increase it:

Path: Preferences, Code Style, Edit, Line Width

Insert current time in the database.

row.setDate(new Date(new Timestamp(new java.util.Date().getTime())));

TROUBLESHOOTING: Cannot set field value in its own ValueChangeListener

You have a field which has  a ValueChangeListener, and we want based on a condition to change set its own value to another one.

Let’s say that attr1 has value 5 and user change it to 10.
VCL of attr1 is called and inside it, there is a condition and the value is set back to 5, that is VO.setAttr1(5)
If we put a logger in VO we ll see that the setter method of attr1 is called in the following order.

  • set(5)
  • set(10)

This means that the 1st one is called from the VCL and the second one is called because of the user interaction.
The result is that the modification in the VCL will not take place. 

TROUBLESHOOTING: The domain edit lock is owned by another session in exclusive mode

There a already a lot of solutions. The faster one for a developer  I thing is

  1. Shutdown the embedded server
  2. Go to DefaultDomain (1)
  3. delete edit.lok
  4. Done.


(1)Find where DefaultDomain directory is located

It is easy to find you DefaultDomain location. It is stated each time embedded weblogic starts


*** Using port 7101 ***
C:\JDeveloper\mywork\system11.1.1.3.37.56.60\DefaultDomain\bin\startWebLogic.cmd
[waiting for the server to complete its initialization...]
.
.
JAVA Memory arguments: -Xms64m -Xmx1024m -XX:MaxPermSize=512m
.
WLS Start Mode=Development



Other solutions:


02 December 2010

Possible ADF Interview questions

Last Update: 7/4/2011

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

Below is a description of the architecture.  Another more compact approach check Anatomy of ADF in the  PRACTICAL ADF APPLICATION DEPLOYMENT FOR FUSION MIDDLEWARE ADMINISTRATORS


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 interface expose 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
    • A 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.





[  ]Identify the types of components that cooperate to provide the business service implementation














  • Entity object
    An entity object represents a row in a database table and simplifies modifying its data by handling all data manipulation language (DML) operations for you. It can encapsulate business logic to ensure that your business rules are consistently enforced. You associate an entity object with others to reflect relationships in the underlying database schema to create a layer of business domain objects to reuse in multiple applications.
  • View object
    A view object represents a SQL query and simplifies working with its results. You use the SQL language to join, filter, sort, and aggregate data into the shape required by the end-user task being represented in the user interface. This includes the ability to link a view object with other entity objects to create master-detail hierarchies of any complexity. When end users modify data in the user interface, your view objects collaborate with entity objects to consistently validate and save the changes.
  • Application module
    An application module is the transactional component that UI clients use to work with application data. It defines an updateable data model along with top-level procedures and functions (called service methods) related to a logical unit of work related to an end-user task.

  • [  ]
    Explain how ADF BC components are used in a Web Application
    http://download.oracle.com/docs/cd/E15523_01/web.1111/b31974/bcdcpal.htm#BBJBDCHF



    Querying and Persisting Data
    [  ]Describe the characteristics of an ADF BC view object
    [  ]Create a view object that can be used for performing a query in a Web application
    [  ]Define a SQL statement on which to base a query for a view object
    [  ]Explain how entity objects relate to database tables
    [  ]Describe the persistence mechanism of entity objects
    [  ]Use the Create Entity Object wizard to generate entity objects from database tables
    [  ]Create associations between entity objects to represent business relationships
    [  ]Create updatable view objects based on entity objects
    [  ]Link view objects to one another in a master-detail hierarchy
    [  ]Refactor objects in an application


    Exposing Data to Clients
    [  ]Explain the role of application modules

    An application module is an ADF Business Components component that encapsulates the business service methods and UI-aware data model for a logical unit of work related to an end-user task.

    In the early phases of application development, architects and designers often use UML use case techniques to create a high-level description of the application's planned end-user functionalities. Each high-level, end-user use case identified during the design phase typically depends on:

    The domain business objects involved. To answer the question, "What core business data is relevant to the use case?"

    The user-oriented view of business data required. To answer the questions, "What subset of columns, what filtered set of rows, sorted in what way, grouped in what way, is needed to support the use case?"

    The identified domain objects involved in each use case help you identify the required entity objects from your business domain layer. The user-oriented view of the required business data helps to define the right SQL queries captured as view objects and to retrieve the data in the exact way needed by the end user. For best performance, this includes retrieving the minimum required details necessary to support the use case. In addition to leveraging view object queries to shape the data, you've learned how to use view links to set up natural master-detail hierarchies in your data model to match exactly the kind of end-user experience you want to offer the user to accomplish the use case.

    The application module is the "work unit" container that includes instances of the reusable view objects required for the use case in question, related through metadata to the underlying entity objects in your reusable business domain layer whose information the use case is presenting or modifying. 


    Application Module Is a Business Service Component Encapsulating a Unit of Work


    [  ]Describe the characteristics of application modules
    [  ]Use the Create Application Module wizard to define the data model for an application module
    [  ]Explain how application modules can manage business components transactions
    [  ]Explain how application modules can manage application stateE
    [  ]Explain the role of the ADF Model


    Declaratively Customizing Data Services
    [  ]Declaratively change data behaviour
    [  ]Declaratively modify the default behavior of view objects, entity objects, and application modules
    [  ]Define a view accessor for a list of values(LOV)
    [  ]Define a list of values (LOV) for an attribute


    Programmatically Customizing Data Services
    [  ]Generate Java classes for business components to modify default behavior programmatically
    [  ]Override class methods to change or augment default behavior
    [  ]Modify the WHERE clause of a view object at run time
    [  ]Explain the benefits of adding service methods at the application module level (rather than at the view level)
    [  ]Create a test client for testing your custom code
    [  ]Modify a view object's client code to add a new employee to the employees view object


    Validating User Input
    [  ]Describe the types of validation available for ADF applications
    [  ]Evaluate which validation options are appropriate for different validations
    [  ]Add declarative validation for an entity object
    [  ]Identify the other non-declarative validation options and when they might be used
    [  ]Describe the benefits of using domains for validation


    Troubleshooting ADF BC Applications
    [  ]Identify the JDeveloper tools for logging and diagnostics
    [  ]Use Java code auditing tools
    [  ]Make use of FileMon and Junit to debug an application
    [  ]Use the JDeveloper profiler
    [  ]Use the JDeveloper debugger
    [  ]Identify sources of Help


    Understanding UI Technologies
    [  ]Describe the use of Web browsers and HTML
    [  ]Explain how Java has come into widespread use as a language for developing Web applications
    [  ]Describe the function of Servlets and JSPs
    [  ]Define JavaServer Faces
    [  ]Explain the JSF component architecture
    [  ]Expalin some JSF component types included in the standard implementation
    [  ]Describe the purpose of backing beans
    [  ]Describe the JSF life cycle
    [  ]Explain how ADF Faces augments the JSF life cycle
    Binding UI Components to Data
    [  ]Create an empty JSF page
    [  ]Use three different ways to add ADF Faces UI components to a page
    [  ]Describe the types of data-bound components that can be added to a JSF page
    http://download.oracle.com/docs/cd/E17904_01/web.1111/b31974/bcdcpal.htm#BABHJJHA
    http://xmlandmore.blogspot.com/2010/05/oracle-adf-bindingcontext-and.html
    http://xmlandmore.blogspot.com/2010/05/action-bindings-and-method-bindings-in.html

    [  ]Describe the structure of an EL (Expression Language) expression
    Planning the User Interface
    [  ]Describe the Model-View-Controller design pattern
    [  ]Differentiate between bounded and unbounded task flows
    [  ]Create task flows to define control flow in an application
    [  ]Specify control flow rules
    [  ]Define global navigation
    [  ]Use routers to declaratively route control flow to activities based on an EL expression
    [  ]Define the role of managed beans in task flows
    [  ]Explain the types of validation available in the user interface


    Adding Functionality to Pages
    [  ]Internationalize the user interface so that the application can be used in multiple locales
    [  ]Use component facets to specify subordinate elements such as toolbars, headers and footers
    [  ]Implement a list of values (LOV) to enable users to select a value from a list
    [  ]Add a calendar component to an input date field to make it easy for users to select a date
    [  ]Use the table component to display structured data as a formatted table
    [  ]Employ the tree component to display hierarchical data
    [  ]Add icons and images to an application with ADF Faces output componentsE
    [  ]Create Search forms using the ADF query component
    [  ]Use ADF Data Visualization components to add charts, graphs, map etc to your JSF pages
    Implementing Navigation on Pages
    [  ]Implement command buttons and links
    [  ]Create menus - Menu bar
    [  ]Create menus - Popup
    [  ]Create menus - Context
    [  ]Use a navigation page
    [  ]Use breadcrumbs
    [  ]Create trains


    Achieving the Required Layout
    [  ]Build complex page layouts with layout components
    [  ]Explain the role of ADF Faces skins
    [  ]Use dynamic page layout
    Ensuring Reusability
    [  ]Identify the benefits of reusing components
    [  ]Create a resource catalog to enable sharing of resources within and across teams and applications
    [  ]Create ADF libraries to share components within and across teams and applications
    [  ]Create a task flow template for reuse across different bounded task flows
    [  ]Create a page template for reuse across the JSF pages in an application to enable a consistent look and feel
    [  ]Create a declarative component for reuse in different pages of an application
    [  ]Create a page fragment to use in multiple pages of the application
    [  ]Employ a bounded task flow as a region in a JSF page


    Passing Values between UI Elements
    [  ]Evaluate whether the data model contains opportunities to reduce the need for passing values between pages
    [  ]Use a managed bean to pass values between JSF pages
    [  ]Store values in memory-scoped attributes to hold and pass information between pages and life cycle phases
    [  ]Use parameters to pass information to different parts of the application
    Responding to Application Events
    [  ]Configure managed beans to contain code to respond to events
    [  ]Explain the different types of events
    [  ]Use phase listeners to listen for and respond to events
    [  ]Explain the role of an event listener
    [  ]Use action listeners
    [  ]Describe the sequence in which events and listeners are executed
    [  ]Describe the features of JDeveloper that support ADF Faces enhanced event handling
    [  ]Identify the server events fired by ADF Faces components/span>
    [  ]Use the contextual events framework to co-ordinate regions on a JSF page


    Implementing Transactional Capabilities
    [  ]Explain ADF BC transaction handling
    [  ]Enable an ADF bounded task flow to run as a transaction
    [  ]Manage transaction exceptions on ADF bounded or unbounded task flows
    [  ]Define the response to the browser's Back button (for an ADF task flow that was already exited)
    [  ]Implement Save for Later functionality


    Implementing Security in ADF BC Applications
    [  ]Explain the need to secure applications
    [  ]Describe security aspects of an ADF BC application
    [  ]Add ADF Security Authentication to an application
    [  ]Add ADF Security Authorization to an application
    [  ]Use two approaches for granting users access to resources
    [  ]Prevent unauthorised access to the ADF BC Model
    [  ]Explain the types of application authentication at run time
    [  ]Use Expression Language to extend the default security capabilities of the framework
    Explore the Project Structure and Core File Architecture
    Check answers for this Section on http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/appendixa.htm
    [  ]Define File Structure of a Project

    Oracle ADF File Hierarchy Overview for the Fusion Web Application
    [  ]Examine how Metadata files are used to specify paramters, methods, and return values to a data control
    [  ]
    Define ADF Data Control and Databinding Files

    A.2.2 Oracle ADF Data Binding Files

    These standard XML configuration files for a Fusion web application appear in your user interface project:
    • adfm.xml: This file lists the DataBindings.cpx file that are available in the current project.
      Note:
      The web.xml file no longer contains a databinding.cpx entry. This entry is now in the adfm.xml file.
      See Section A.4, "adfm.xml" for more information.
    • DataBindings.cpx : This file contains the page map, page definitions references, and data control references. The file is created the first time you create a data binding for a UI component (either from the Structure window or from the Data Controls Panel). The DataBindings.cpx file defines the Oracle ADF binding context for the entire application. The binding context provides access to the bindings and data controls across the entire application. TheDataBindings.cpx file also contains references to the PageDef.xml files that define the metadata for the Oracle ADF bindings in each web page.
      For more information, see Section A.7, "DataBindings.cpx".
    • PageDef.xml: This is the page definition XML file. This file is created each time you design a new web page using the Data Controls Panel or Structure window. These XML files contain the metadata used to create the bindings that populate the data in the web page's UI components. For every web page that refers to an ADF binding, there must be a corresponding page definition file with binding definitions.
      For more information, see Section A.8, "pageNamePageDef.xml".

    [  ]Explore the ADF Faces and Web Configuration Files to know where task flows, pages and code are created

    A.2.3 Web Configuration Files

    These standard XML configuration files required for a JSF application appear in your user interface project:
    • web.xml: Part of the application's configuration is determined by the contents of its Java EE application deployment descriptor, web.xml. The web.xml file defines everything about your application that a server needs to know. The file plays a role in configuring the Oracle ADF data binding by setting up the ADFBindingFilter. Additional runtime settings include servlet runtime and initialization parameters, custom tag library location, and security settings.
      For more information about ADF data binding and JSF configuration options, see Section A.13, "web.xml".
      An ADF Faces application typically uses its own set of configuration files in addition to web.xml. For more information, see the "Configuration in trinidad-config.xml" section in the Oracle Fusion Middleware Web User Interface Developer's Guide for Oracle Application Development Framework.
    • adfc-config.xml: The configuration file for an ADF unbounded task flow. The configuration file contains metadata about the activities and control flows contained in the unbounded task flow. The default name for this file is adfc-config.xml, but an end user can change the name.
      For more information, see Section A.9, "adfc-config.xml".
    • task-flow-definition.xml: The configuration file for an ADF bounded task flow. The configuration file contains metadata about the activities and control flows contained in the bounded task flow. The default name for this file can be task-flow-defintion.xml or whatever an end user specifies in the Create ADF Task Flow dialog. The same application can contain multiple task flow definition files.
      For more information, see Section A.10, "task-flow-definition.xml".


      Check the related links for more
    [  ]Define Hierarchical Relationship of the XML Metadata files in a Web Application

    Figure A-2 illustrates the hierarchical relationship of the XML metadata files that you might work with in a web application that uses an ADF application module as a service interface to ADF Business Components. At runtime, the objects created from these files interact in this sequence:
    1. When the first request for an ADF databound web page occurs, the servlet registers the Oracle ADF servlet filter ADFBindingFilter named in the web.xml file.
    2. The binding filter creates an empty binding context.
    3. When a page is rendered, the binding filter asks the binding context to load a corresponding PageDef.xml for the page.
    4. The binding context creates the binding container by loading the  file as referenced by the  element in the DataBindings.cpx file.
    5. The adfm.xml file loads the DataBindings.cpx contents and finds the right PageDef.xml based on the  element reference to the  element.
    6. The binding container's prepareModel phase prepares and refreshes all relevant executables (most are marked deferred by default).
    7. An iterator binding gets executed by referencing the named method on the data control found through the data control factory named in the case of ADF Business Components in the bc4j.xcfg file.
    8. The binding container also creates the bindings defined in the  section of the pagenamePageDef.xml file for the mapped web page.
    9. The web page references to ADF bindings through EL using the expression #{bindings} are resolved by accessing the binding container of the page.
    10. The page pulls the available data from the bindings on the binding container.
      Oracle ADF File Hierarchy and Syntax Diagram for an ADF BC-based Web Application




    Extend the ADF Business Components Framework
    [  ]Examine some general considerations when using ADF Business Components
    [  ]Extend the ADF Business Components (ADF BC) Framework to customize your application
    [  ]Override the standard way data is committed to the database using a PL/SQL procedure
    [  ]Design ADF Business comonents to avoid database contraint


    Use ADF Business Components for Validation, Calculations and List of Values
    [  ]Build Cascading List of Values
    [  ]Enhance the Application with Calculations and Validation
    [  ]Create Validation for Foreign Keys
    [  ]Employ Groovy Expressions in Validations


    Use Inheritance in the Business Domain Layer
    [  ]Reuse existing Bussiness Component designs by extending components
    [  ]Implement Supertype/Subtype designs using Entity Objects
    [  ]Create View Objects to access more than one table


    ADF as a part of a Service Oriented Architecture
    [  ]Expose ADF Business Components as SDO for use in a SOA Process (BPEL)
    [  ]Create Rich User Interfaces that access data from a composite application
    [  ]Create events for ADF Business Components to trigger Enterprise Service Bus
    [  ]Use Service Data Objects to access heterogeneous data in a uniform way


    Implement Data Binding Controls
    [  ]Define and Recognize ADF Model binding types
    [  ]Define ADF Model executables and how to use them
    [  ]Customize data-bound components within the page definition file to support application requirements
    [  ]Use Expression Language to connect page items to model components
    [  ]Determine how model components get transformed into Data Control Palette items


    Practical Data Binding in Action
    [  ]Examine data binding in the JavaServer Faces (JSF) Page life cycle
    [  ]Define listeners and custom controllers to augment the ADFm life cycle
    [  ]Develop two different style queries: Query by example and Query using Google style
    [  ]Develop two different types of list of allowable values: Static lists and Dynamic lists


    Work with Managed Beans and JavaServer Faces
    [  ]Define key JavaServer Faces (JSF) terms
    [  ]Describe the JSF Architecture with Application Development Framework (ADF)
    [  ]Differentiate between Managed and Backing Beans
    [  ]In a JSF page, create and reference a Managed Bean to perform a custom method
    [  ]Set and use Managed Properties to store and retrieve user login information
    [  ]Use context object classes to access application messages, work with the Servlet API or ADF specific funcationality


    ADF Faces Advanced Features
    [  ]Examine AJAX and ADF
    [  ]Employ Partial Page Rendering (PPR) on a JSF Page
    [  ]Enhance a page by creating input and output items using ADF Components
    [  ]Use page, panel and splitter componentss to design and build a JSF page
    [  ]Develop UI shell templates to incorporate company standard behavours, look and feel
    [  ]Display numerical data using Data Visualization components and Active Data Services


    Integrate with WebCenter
    [  ]Allow end users to perform runtime customization to their application pages
    [  ]Integrate ADF pages with Content Management systems to access file systems
    [  ]Add Web Center Services, like social networking and collaboration, to JSF/ADF pages
    [  ]Add reusable Portlets that provide dynamic view of data, into a JSF/ADF page


    Customize the Application Look and Feel with Skins
    [  ]Use Firebug and Mozilla Developer Toolbar to build skins
    [  ]Explain how skin selectors work
    [  ]Build instance specific skins
    [  ]Develop a managed bean to change skin at runtime








    You can also find ADF Interview info at oracle adf interview questions and answers - Part One.

    Dig more/References:





    You might also like:

    Related Posts Plugin for WordPress, Blogger...