An Oracle JDeveloper How To Document (EA10)
Written by Jonas Jacobi & Poh Lee Tan, Oracle Corporation
ADF Faces is the Oracle Application Development Framework (ADF) view technology based on JavaServer Faces (JSF). Although JDeveloper 10g's complete and enhanced support for ADF Faces development will be provided in post 10g releases, it is still possible to productively do ADF Faces development in JDeveloper 10g. This document describes how to install and work with ADF Faces Early Access Release in JDeveloper 10g.
Oracle ADF Faces is a rich set of user interface components based on the new JavaServer Faces JSR (JSR-127). Oracle has been actively involved in this JSR since its beginning. The Oracle ADF Faces Components provide various user-interface components with built-in functionality - such as List-Of-Values, Table, hGrid, Color Picker, and Calendar - that can be customized and re-used in your application.
ADF Faces ensures a consistent look and feel for your application, allowing you to focus more on user interface interaction rather than look and feel compliance. The components support multi-language and translation implementation as well as accessibility features. ADF Faces Components use Partial Page Rendering (PPR) offering superior runtime interactivity. PPR allow the browser to just render a piece of a page instead of the entire page.
The intention with this early access release is to give developers and architects an opportunity to evaluate JSF and Oracle's JSF component offering.
The dependencies of ADF Faces include:
To start building an ADF Faces application, you will need to configure a project's web.xml and include a starter faces-config.xml file and a starter adf-faces-config.xml file.
<!-- Faces Servlet -->
<!-- Faces Servlet Mapping -->
Note: You can actually use any Faces servlet mapping. For example: <url-pattern>*.faces</url-pattern>.
<!DOCTYPE faces-config PUBLIC
"-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
Now that you've configured a project for ADF Faces, you can test your configuration by creating a simple ADF Faces application.
The file adf-faces-demo.zip is a demo WAR with missing third party libraries. It has been renamed to a ZIP so that users don't try to run it without the missing libraries. Please follow the direction below to turn adf-faces-demo.zip into a functioning WAR.
Now the WAR is ready to go.