Oracle ADF 11gR2 Development Beginner's Guide

Oracle ADF 11gR2 Development Beginner's Guide
eBook: $29.99
Formats: PDF, PacktLib, ePub and Mobi formats
save 15%!
Print + free eBook + free PacktLib access to the book: $79.98    Print cover: $49.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Table of Contents
Sample Chapters
  • Implement a web-based application using the powerful ADF development framework from Oracle
  • Experience the fun of building a simple web application with practical examples and step-by-step instructions
  • Understand the power of Oracle ADF 11gR2 and develop any complex application with confidence

Book Details

Language : English
Paperback : 330 pages [ 235mm x 191mm ]
Release Date : April 2013
ISBN : 1849689008
ISBN 13 : 9781849689007
Author(s) : Vinod Krishnan
Topics and Technologies : All Books, Enterprise Products and Platforms, Oracle Applications, Beginner's Guides, Enterprise, Oracle

Table of Contents

Chapter 1: Installing and Configuring JDeveloper IDE
Chapter 2: Getting Started with ADF
Chapter 3: Understanding the Model Layer
Chapter 4: Validating and Using the Model Data
Chapter 5: Binding the Data
Chapter 6: Displaying the Data
Chapter 7: Working with Navigation Flows
Chapter 8: Layout with Look and Feel
Chapter 9: Implementing Security
Chapter 10: Deploying the ADF Application
Chapter 11: Advanced Features of ADF
Pop Quiz Answers
  • Chapter 1: Installing and Configuring JDeveloper IDE
    • System requirements for Windows
    • Installing JDeveloper
    • Time for action – downloading the installer
    • Studio edition
    • Time for action – installing JDeveloper Studio Edition
    • Time for action – launching JDeveloper for the first time
    • Knowing the start-up flags/parameters
    • Time for action – setting the start-up options
    • Setting up the user directory (System directory)
    • Working with IDE configuration files
    • Knowing the roles
    • Getting familiar with the IDE
      • Setting the preferences
    • Knowing the IDE components
    • Time for action – opening the sample application
      • Application Navigator
      • Application Resources
      • Data Controls palette
      • Recently Opened Files
      • Structure window
      • Database Navigator
      • The Resource palette
    • Time for action – creating a catalog
      • The Component palette
      • Run Manager
      • The Log window
      • Code editor
      • Code editor views
      • Property Inspector
    • Summary
    • Chapter 2: Getting Started with ADF
      • Model-View-Controller
        • How ADF implements MVC
        • The ADF architecture
      • Creating a simple application in ADF
        • ADF development practice
        • Sample application – employee directory application
      • Time for action – creating the application workspace
        • Planning your application
        • Connect to a database
      • Time for action – setting up the database tables
      • Time for action – creating a database connection
        • Build business services
          • Accessing the project properties
      • Time for action – creating the business components
        • Running the AM tester
        • Exposing data to the UI layer
      • Time for action – bind data to the UI components
      • Time for action – running the application
      • Summary
      • Chapter 3: Understanding the Model Layer
        • ADF business components
          • What is an entity object?
        • Time for action – checking the attributes of an entity object
        • Time for action – creating an entity object for DEPT table
          • Why association?
        • Time for action – creating an association between EmpEO and DeptEO objects
          • About the view object
            • Types of view object
        • Time for action – creating an entity-based view object
          • Importance of a view link
        • Time for action – creating a view link between EmpVO and DeptVO
          • What is an application module?
        • Time for action – creating an application module
        • Time for action – adding the view link to the application module
        • Business components in action
        • Time for action – running the application module
        • Options for the business components
          • Entity object
            • General
            • Attributes
            • Business Rules
            • Java
            • Business Events
            • View Accessor
          • Association
            • Relationship
          • View Object
            • General
            • Query
        • Summary
        • Chapter 4: Validating and Using the Model Data
          • Declarative validation
            • Knowing the lifecycle of an entity object
            • Types of validation
              • Entity-level validation
              • Attribute-level validation
              • Transaction-level validation
            • Built-in declarative validators
              • Collection validator
          • Time for action – adding a collection validator for the DeptEO file
            • The Compare validator
            • The Key Exists validator
            • The Length validator
            • The List validator
            • The Method validator
            • The Range validator
            • The Regular Expression validator
            • The Script validator
            • The UniqueKey validator
        • Time for action – creating an alternate key for DeptEO
        • Groovy expression
          • Setting a default value
        • Time for action – setting a default salary for employees
          • Validation execution
          • Some commonly used expressions
        • Time for action – adding a script expression
        • Learning about APIs
          • Generating an entity implementation class
            • Java classes in entity objects
        • Time for action – generating a Java API for DeptEO
          • Classes for view objects
        • Application module API
        • Time for action – learning to override a method
        • Managing transactions
          • Configuring transactions
        • Time for action – creating configurations
        • Exposing data
        • Time for action – exposing a method using the client interface
        • Summary
          • Chapter 5: Binding the Data
            • ADF model layer
            • Data Controls palette
              • Data control
              • The view object collection
              • Attributes
              • Operations
              • Methods
              • Return
              • Parameters
              • View criteria
            • Time for action – adding a Commit button to the UI page
            • Working with the data control layer and binding
            • Time for action – accessing the page definition file
            • Creating the bindings manually
            • Time for action – creating page definition bindings
              • Adding executables
                • accessorIterator
                • invokeAction
                • iterator
                • page
                • searchRegion
                • shuttleRegion
            • Summary
            • Chapter 6: Displaying the Data
              • Creating a page
                • Knowing the page template
                  • Oracle Three Column Layout
                  • Oracle dynamic tabs shell
              • Time for action – creating the page template
                • Creating the page with the template
              • Time for action – creating the dept.jspx file
              • Layout the page display
              • Time for action – creating the layout for the page
              • Knowing the UI components
                • Input components
                  • af:form
                  • af:inputText
                  • af:inputDate
                  • af:inputFile
                  • af:selectOneChoice
                  • af:selectOneRadio
                  • af:selectBooleanCheckbox
                • Output components
                  • af:outputText
                  • af:message
                  • af:outputFormatted
                • Layout components
                  • af:panelGroupLayout
                  • af:panelStretchLayout
                  • af:panelGridLayout
                  • af:panelFormLayout
                  • af:panelHeader
                • Query components
                  • af:query
                • Popup components
                  • af:popup
                  • af:dialog
              • Time for action – showing a popup to the user
                • List of values components
                  • af:inputComboboxListOfValues
                • Navigation components
                  • af:commandbutton
                  • af:commandLink
                • Menu components
                  • af:menu
                • Table components
                  • af:table
                  • af:treeTable
                • Miscellaneous components
                  • af:forEach
                  • af:iterator
                  • af:switcher
                • Data visualization components
                • Other tags
              • EL expression
              • Time for action – adding an EL expression
                • Partial page rendering
              • Summary
              • Chapter 7: Working with Navigation Flows
                • Task flows
                  • Task flow types
                    • Unbounded task flow
                    • Bounded task flow
                • Time for action – adding a bounded task flow to EmpDirectoryApplication
                  • Task flow components
                    • Method call
                • Time for action – adding a method call activity
                  • Router
                  • Save Point Restore
                  • Task Flow Call
                  • Task Flow Return
              • Time for action – adding a Task Flow Return
                • Parent Action
                • URL View
                • View
              • Time for action – adding a View activity to the task flow
                • Control flow
                • Wild card
              • Task flow options
                • General
                • Visibility
                • Based on a template
                • Managed beans
                • Managed properties
                • Parameters
              • Time for action – passing parameters to a task flow
                • Behavior
                • Transactions
              • Task flow as a region
              • Time for action – adding a task flow as a region
                • ADF life cycle
                  • Memory scopes
                  • Relationships between the scopes
              • Summary
                • Chapter 8: Layout with Look and Feel
                  • Skinning essentials
                    • What is a skin?
                  • Time for action – adding a skin file to the application
                    • Skin selectors
                      • Pseudo classes in the ADF skinning framework
                  • Using the skin editor
                  • Time for action – creating an ADF skin using the skin editor IDE
                    • Extended skins
                    • Style classes
                    • Global selector aliases
                    • Faces component selectors
                    • Applying skins
                  • Deploying skins
                  • Time for action – deploying the skin file
                  • Summary
                  • Chapter 9: Implementing Security
                    • Introduction to security
                      • Basic security
                    • Time for action – implementing basic security
                    • Applying security permissions
                      • Security for business objects
                      • Security for task flows and page-related files
                    • Time for action – adding permissions
                    • Creating a login page
                    • Time for action – creating a login page
                    • Creating roles and groups
                    • Time for action – creating roles and assignments
                    • Disabling ADF security
                    • Time for action – disabling security for ADF applications
                    • Summary
                    • Chapter 10: Deploying the ADF Application
                      • ADF application deployment
                        • Overview
                      • Preparing for deployment
                        • Connection
                        • Deployment profiles
                      • Time for action – creating the deployment profile
                        • MDS configuration
                        • Deployment descriptors
                          • web.xml
                          • weblogic.xml
                          • weblogic-application.xml
                        • Security
                          • jazn-data.xml
                        • Data source
                      • Deployment to the WebLogic server
                        • Integrated server
                      • Time for action – creating a default domain for integrated server
                      • Time for action – deployment to integrated server
                        • Standalone server
                      • Time for action – deploying to the standalone server
                      • Summary
                      • Chapter 11: Advanced Features of ADF
                        • Advanced topics on entity objects
                          • Tuning
                          • Custom properties
                          • Property sets
                          • A resource bundle
                          • Business logic groups
                          • Domain
                          • The Custom validation rule
                          • Custom error messages
                        • Advanced topics on view objects
                          • Avoid getRowCount, getEstimatedRowCount
                          • Working with Rowsets
                          • List of values
                        • Time for action – creating a list of values of a department
                          • UI categories
                        • Application module state management
                        • Complex data controls
                        • Complex task flows
                        • Contextual events
                        • Time for action – publishing an event and subscribing it
                        • Complex usage of a managed bean
                        • Debugging the application
                          • Debugging practices
                          • Exception handling
                          • Debugging the lifecycle
                        • The Metadata Services framework
                          • Customization layers
                          • Customization classes
                          • Seeded customization
                          • Runtime customization
                        • The Active Data Services framework
                          • The ADS framework
                          • Modes of data transport
                        • WebLogic server configurations
                          • Domain
                          • Servers
                          • Deployments
                          • The Security realm
                          • Data sources
                          • Diagnostics
                        • Creating an extension
                          • The extension.xml file
                        • Time for action – creating and running an extension
                        • Summary

                        Vinod Krishnan

                        Vinod Krishnan has over eight years' experience in the Information Technology industry this exposed him to a wide range of technologies that include Java, J2EE, WebLogic, Fusion Middleware, SOA, and Webcenter. He has been working with Oracle ADF Technologies since 2005, and enhanced his affinity towards ADF after he joined Oracle India. For the last five years, Vinod is actively involved in large implementations of next-generation enterprise applications, utilizing Oracle's JDeveloper and Application Development Framework (ADF) technologies. He holds a B.Tech. in Information Technology from Anna University, Chennai, India. He is currently responsible for building and deploying applications using the Oracle Fusion Middleware technology stack as a Project Lead in Oracle America. He is an Oracle Certified Specialist, and the technologies he has worked on include Oracle ADF, SOA, Webcenter, and Identity Management. His contribution towards Jdeveloper and ADF discussion forums is immense. With his experience, he has learned many tips and techniques that will help a new user to learn this technology without any hassles. He writes his own blog ( that discusses the tips and tricks with using Oracle technologies. Vinod has had a multifaceted career, he has worked in positions such as Senior Consultant, Senior Applications Engineer, Software Engineer, and Solution Architect for MNCs such as Oracle, Capgemini, and Keane. Currently he is working as a Project Lead in Oracle America.
                        Sorry, we don't have any reviews for this title yet.

                        Code Downloads

                        Download the code and support files for this book.

                        Submit Errata

                        Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.


                        - 3 submitted: last submission 24 Mar 2014

                        Errata type: Technical|Page number: 102

                        In the "Specifying the execution rule" section,

                        "Following are the steps to specify the execution:"
                        Should be:
                        "Following are the steps to specify the execution for EmpEO.xml file:"

                        Errata type: Technical|Page number: 117

                        getAttribute(): For example, if the attribute is Empno, the setter will be getEmpno().

                        Should be:

                        getAttribute(): For example, if the attribute is Empno, the getter will be getEmpno()

                        Errata type: Technical|Page number: 157


                        2. Now go to the af:declarativeBox tag
                        Should be:
                        2. Now go to the af:decorativeBox tag

                        Sample chapters

                        You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

                        Frequently bought together

                        Oracle ADF 11gR2 Development Beginner's Guide +    Microsoft BizTalk 2010: Line of Business Systems Integration =
                        50% Off
                        the second eBook
                        Price for both: $45.60

                        Buy both these recommended eBooks together and get 50% off the cheapest eBook.

                        What you will learn from this book

                        • Explore the installation procedure and the configurations needed to work with Jdeveloper
                        • Familiarize yourself with the ADF Model Layer and work with the Business Components
                        • Identify the components and mplement the validations for the Business Rules
                        • Bind the model data and expose it to the user interface using the data control
                        • Learn to display and arrange the layouts in the View Layer using ADF Faces components
                        • Understand the navigation flows and find out how to pass information between pages
                        • Discover the significance of the Skin Editor to style the pages using CSS styles and themes
                        • Implement the security for your pages and learn how to deploy the application

                        In Detail

                        Oracle ADF is an end-to-end framework which makes application development simple by providing infrastructure services as well as visual and declarative development right away.

                        "Oracle ADF 11gR2 Development Beginner’s Guide" guides any user with programming skills to be able to quickly learn the options and ways to develop rich Internet applications using ADF 11gR2. Containing all the skills that a new user has to use to build an application in ADF 11gR2, this book is designed in such a way so that it enhances the practical feel of developing applications in ADF 11gR2.

                        Starting with the installation and configuration of Oracle ADF 11g RD we will then work through topics such as working with the Model Layer and Model Data followed by displaying and binding the data. Later we will look at Navigations and Flows within applications as well as their layout, look, and feel. "Oracle ADF 11g R2 Development Beginner's Guide" will conclude with us looking at the security and deployment of the applications which have been created.


                        "Oracle ADF 11gR2 Development Beginner's Guide" will cover the basics of Oracle ADF 11g development and will then work through more complex topics as the reader gains more skills. This book will follow a tutorial approach with the content and tasks getting more advanced throughout.

                        Who this book is for

                        This book is intended for beginners who know a little about Java programming and would like to learn how to develop rich web applications using the Oracle Application Development Framework.

                        Code Download and Errata
                        Packt Anytime, Anywhere
                        Register Books
                        Print Upgrades
                        eBook Downloads
                        Video Support
                        Contact Us
                        Awards Voting Nominations Previous Winners
                        Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
                        Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software