Friday, 13 May 2011

Planning the User Interface in Oracle ADF

1.Describe the Model-View-Controller design pattern
http://javing.blogspot.com/2011/02/web-programmers-most-powerful-weapon.html?spref=bl

2.Differentiate between bounded and unbounded task flows
"An ADF bounded task flow is used to encapsulate a reusable portion of an application. A bounded task flow is similar in some ways to a Java method." 
"A Fusion web application always contains an ADF unbounded task flow, which contains the entry point or points to the application."
(Bounded Task Flows)
Unbounded task flow: A set of activities, control flow rules, and managed beans that interact to allow a user to complete a task. An ADF unbounded task flow consists of all activities and control flows in an application that are not included within any bounded task flow.
Bounded task flow: A specialized form of task flow that, in contrast to an unbounded task flow, has a single entry point and zero or more exit points. It contains its own set of private control flow rules, activities, and managed beans. An ADF bounded task flow allows reuse, parameters, transaction management, and reentry.
(Introduction to ADF Task Flows )
  • There is only one unbounded task flow within an application. Even if you use multiple definition files for unbounded task flows within the application, they will be combined into a single flat namespace at runtime with the entire flow being loaded into memory at startup.
  • Any view activity in the unbounded flow is URL accessible by the user.
  • Unbounded task flows are restricted to view activities that are implemented as whole pages.
  • Bookmarking is only supported by views in an unbounded task flow and is not available in bounded task flows.  (Task Flow Design Fundamentals, An Oracle White Paper, April 2011 )
3.Create task flows to define control flow in an application
http://download.oracle.com/docs/cd/E21764_01/web.1111/b31974/taskflows.htm#ADFFD21726

4.Specify control flow rules
 When the user acts on a command component(e.g. button,link) in a JSF application, a rule is invoked to determine the next page to display. These rules are called control flow rules. They can also be invoked by tabs, breadcrumbs or train components. Control flow rules can be defined using one of the following:
  • the visual editor (Navigation Modeler)
  • the Configuration editor (XML Console)
  • the XML file directly
  • the Structure window

5.Define global navigation
A global control flow rule is a rule that applies for all pages (that is a rule that can be called from any page). Use the wildcard control flow rule element in the Component Palette of JDeveloper to define a global control flow rule.

6.Use routers to declaratively route control flow to activities based on an EL expression
http://download.oracle.com/docs/cd/E17904_01/web.1111/b31974/taskflows_activities.htm#ADFFD1673

7.Define the role of managed beans in task flows
Managed beans are registered with the application in task flow .xml files.
http://download.oracle.com/docs/cd/E21764_01/web.1111/b31974/web_getstarted.htm#CACCFIII

8.Explain the types of validation available in the user interface
  • UI component attributes for validating data (e.g. required)
  • default validation
  • custom validation

1 comment:

Brian said...

Designing the user interface of Oracle ADF is a complex process. you cannot afford to make a mistake. An ADF bounded task flow is used to encapsulate a reusable portion of an application. A bounded task flow is similar in some ways to a Java method.

Oracle E-Business Suite Training