Oracle ADF Code Corner

 

product logo

Oracle ADF Code Corner
The Oracle ADF Code Corner is a weekly blog-style column from the source that helps Oracle ADF developers to go beyond drag and drop in their Oracle ADF web application development. The idea is to provide code examples to real-world coding challenges that developers can use and integrate in their projects.

Most of the code examples below are inspired by frequently asked questions posted on the OTN JDeveloper forum [JDeveloper] [JDeveloper 11].

All samples are provided as they are with no guarantee for future upgrades or error corrections. No support can be given through Oracle customer support. Please post questions or problems related to the samples on this page to one of the OTN JDeveloper forums referenced above.

Left Curve
Oracle ADF Blogs to follow
Right Curve
JDeveloper Blogs Aggregator
Steve Muench
Frank Nimphius
Shay Shmeltzer
Duncan Mills
Lynn Munsinger
Grant Ronald
Susan Duncan
Dana Singleterry
David Giammona (ADFc)

Josh Bregman (Security)

Vivek Kumar
Andrejus Baranovskis
"ADF Inspired" by Jobinseh
AMIS Lucal Jellema, Luc Bors
Edwin Biemond
Michael Fons
Chris Muir
Eric Marcoux

Oracle ADF and Oracle JDeveloper 11g

Application Development becomes Easier !

Two new books published by Oracle Press help application developers to get started and become professional in building Rich Internet Applications (RIA) with Oracle JDeveloper and the Oracle ADF and Fusion development platform. Both books are written by members of the Oracle JDeveloper and ADF product management team and provide a wealth of information, as well as hints and tips that compliment the Oracle product documentation.

The "Oracle JDeveloper 11g Handbook" by Duncan Mills, Peter Koletzke and Avrom Faderman provides an entry to Fusion development for developers that are new to Oracle JDeveloper and the ADF platform, or who have a background in 4GL tools, like Oracle Forms.

The "Oracle Fusion Developer Guide" by Frank Nimphius and Lynn Munsinger, assumes some understanding of basic ADF and Java EE development principles and takes you to the next level. It is considered an advanced book that provides a fast track to application development with Oracle ADF and goes beyond the dominant drag and drop development gesture in Oracle JDeveloper and ADF.

Though not a requirment, adding both books to your bookshelf equips you with a throughout understanding and skill set to become professional in Oracle ADF application design and development.

Oracle JDeveloper 11g Handbook

A Guide to Oracle Fusion Web Development

By Duncan Mills, Peter Koletzke , Avrom Roy-Faderman
ISBN 0071602380
Released in October 2009

This Oracle Press guide shows how to build Web applications using the Fusion Middleware development tool, Oracle JDeveloper. The book discusses the latest technologies and explains how to develop code using multiple techniques.

Oracle JDeveloper 11g Handbook: A Guide to Fusion Web Development covers the Oracle Application Development Framework and JavaServer Faces. Hands-on practice examples walk you through the creation of a complete sample application that employs highly-interactive user interface components and declarative development methods. You will learn the techniques required to implement Fusion-oriented software solutions in JDeveloper

 

   

Oracle Fusion Developer Guide

Building Rich Internet Applications with Oracle ADF Business Components and ADF Faces

By Frank Nimphius, Lynn Munsinger
ISBN 0071622543
Release in January 2010 (pre-orderable)

In the thoroughly explained examples throughout this Oracle Press guide, you will find the shortest path to success in developing for the Oracle Fusion environment. Oracle Fusion Developer Guide covers common problems and use-cases, providing code and explanations that ultimately make you more productive from the start. The book delivers the vital knowledge necessary to become a skilled ADF and ADF Faces Rich Client application developer.

 
Oracle JDeveloper 11g and ADF

The ADF Faces Rich Client component set is a collection of Ajax enabled JavaServer Faces components that make development of interactive web applications as easy as drag and drop. Though as much as we want it and as much as it is our mission to make development easy, not everything can be exposed to developers in a drag and drop gesture. Sometimes a bit of Java programming and know how is required to unleash the real power of ADF Faces RC components, and this is what this section of the ADF Code Corner is about. The primary focus for the examples is set to the Fusion Development platform that includes ADF Business components as the persistence layer, ADF for the binding, ADFc as the controller and ADF Faces RC as the view layer.

In addition to the technologies just mentioned, service integration with SOA services also falls within this scope. As much as possible though We will try to simplify the demonstrated testcase and reduce calls to web services to POJO equivalents to ensure that the provided sample workspaces run in a stand alone environment with no strings attached that would require a bigger installation of the Fusion Middleware software.

Expanding af:menubar on mouse over
Increase performance of pages that hold custom CSS and JavaScript code
Building a search form that shows results in a taskflow added to a popup
How to intercept the User Query Parameters in af:table
Expanding an af:tree node by clicking onto its label
How-to configure a custom Splash Screen
How-to create declarative components and how-to bind them to ADF and PPR
How-to create a character input counter for textfields
How-to extend the default ADF Faces Component Message Bundle
How-to build dependent, model driven list of values with ADF Swing
How-to declaratively create new table rows based on existing row content
Implementing auto suggest functionality in ADF Faces Rich Client
ADF Programming Quickies
How to build a reusable toolbar with Oracle ADF declarative components
How-to access the selected row data in a TreeTable or Tree NEW
How to use ClientListeners and ServerListeners
How-to Refresh a bound taskflow that is added as a region to a popup dialog
How-to build hierarchical Select Choices in ADF Faces RC
How to Access Attributes of a Declarative Component from a Managed Bean
How-to Conditionally Prevent Dialogs from Closing
How-to build a reusble Glasspane in ADF Faces RC
How-to pass additional arguments to a JavaScript function using the af:clientAttribute element
How-to find and set control hints on POJO entities in bean Data Controls
How-to cancel an edit form, undoing the edits
How-to cancel an edit form, undoing the edits with ADFm Save points
How-to restrict the values retrieved by a model driven LOV
A declarative approach to base a router decision on the outcome getEstimatedRowCount
Advanced Expression Language programming techniques
How-to use captcha with ADF Faces and Oracle ADF
How-to pass values from a parent page to a popup dialog NEW
 
Oracle Platform Security Services (OPSS) and Oracle ADF Security

This section compliments the Oracle documentation about ADF Security and the new Oracle Platform Security Services (OPSS).

How-to use custom JAAS Permissions in ADF Security
How-to configure OID as an authentication provider in WLS
Sample: Using ADF Security with OPSS and LDAP (Josh Bregman for ADF 11g)
   
 
ADF Code Corner Internet TV

This section complements the written how-to documents on ADF Code Corner. Though written how-tos seem to be preferrable, some samples are easier to record than to write up. Samples that appear in this section will either be too short for a written version or too long. The individual recording length is limited to a minimum so it can be watched while enjoying a small cup of coffee or a mini break.

How-to build bookmarkable ViewActivities in ADF taskflows
How-to use ADF Contextual Events for ADF region communication NEW
   
ADF Security Part 1: Container Managed Security
ADF Security Part 2: Setup and Authentication
ADF Security Part 3: Authorization
ADF Security Part 4: Security Expression Language NEW
ADF Security Part 5: ADF BC Entity Security
ADF Security Deployment with Oracle Enterprise Manager
 
Recommended Readings and Resources

ADF Methodology Group

A group of Oracle ADF experts that meet on Google to collaborate on ADF best practices. This group soon becomes the "who-is-who" in ADF application development which is a good reason for you to join and participate.

Oracle JDeveloper forum in OTN

Not a replacement for customer support, but a good starting point to ask questions about Oracle JDeveloper and ADF. Its a community of peers monitored by the Oracle JDeveloper PM team that helps each other with every day coding issues and questions and answers around the product. Join and see how quickly you develop from asking to answering questions.

Steve Muench's not yet documented samples

One of the "holy grail" blog pages that every ADF developer should have a bookmark for. Steve explains coding challenges by example, providing excellent insight in how the product works and how you get common tasks interated into your applications.

Data Visualization Component tag overview

DVT is a major enhancement are in ADF Faces Rich Client. This doucmentation provides you with an overview of the DVT components and how to use them.

Oracle ADF Development Essentials

The developer community provides a wealth of information through tutorials, how-to's, sample applications, and so on that help new as well as experienced developers learn how to be productive. For example, it's important for developers to be trained up on subjects such as version control/working in teams, automated unit testing, and using Ant for building projects, but the amount and complexity of information out there on these topics can be overwhelming

Steve Muench's Oracle Magazine column

ADF related articles by Steve Muench published in the Oracle Magazine.

A Rough Guide to using WLS 10.3 with ADF

Duncan Mills' blog entry about setting up WLS 10.3 for ADF in JDeveloper 11g (Boxer)

Oracle JDeveloper documentation on OTN

The official Oracle JDeveloper and ADF documentation consists of two books written for the ADF developer and the ADF Faces web developer. Improving our product documentation has been a mission since 10.1.3 and its over now. Though we easilly could call it a day, there is always room to improve, which is what the doc writers do with each iteration of the doc.

Skin Selectors

Skinning has been greatly improved in JDeveloper 11. Have a look at the skin selector documentation to leran about the options available to skin individual UI components.

ADF Faces RC tag documentation

ADF Faces RC provides a wealth of Ajax enabled JavaServer Faces components. This page, which is maintained by the development team itself, provides you best of breed information about how to use the individual tag elements.

Download and Run the ADF Faces Component demo

The ADF Faces component demo shows all the ADF Faces RC components in action. You can get the complete demo sources to run from your local JDeveloper 11 installation.

ADF Faces RC JavaScript docs

Using JavaScript should be more of an exception than a rule when working with ADF Faces RC cmponents. However, the client side API exists and this document contains a list of the public methods and classes to use. As a rule of thumb, avoid the use of any class or method not shown in this document because it indicates an internal implementation class that might change without further notice or, if not used properly, may even break framework functionality.

ADF Functional Patterns

Documents that describe and demonstrate Functional Patterns and Best Practices for specific tasks in development when utilizing ADF within JDeveloper. New Functional Patterns and Best Practices appear on a regular basis

ADF Faces Rich Client Skin Selectors (12/2008)

December 2008 Snapshot of the Oracle ADF Faces RC skin selectors and label resource keys. Read this document to learn about the skinning options and how to override the default component labels.

Oracle Sample Code NEW

Oracle Sample Code, a site where employees and Oracle Technology Network members collaboratively build and share sample applications, code snippets, skins and templates, and more. This site aims to become an almanach of developer wisdom, expressed in source code

 

E-mail this page
Printer View Printer View
Oracle Is The Information Company About Oracle | Oracle RSS Feeds | Careers | Contact Us | Site Maps | Legal Notices | Terms of Use | Privacy