You are previewing Oracle ADF Faces Cookbook.
O'Reilly logo
Oracle ADF Faces Cookbook

Book Description

Transform the quality of your user interfaces and applications with this fascinating cookbook for Oracle ADF Faces. Over 80 recipes give you an insight into virtually every angle of the framework’s potential.

In Detail

Oracle ADF is an ADF view framework that consists of over 150 Ajax-enabled JavaServer Faces (JSF) components. It is comparable to the jQuery User Interface library as it helps developers to build exciting User Interfaces for Java EE apps. Oracle ADF Faces 12c can be used to create scalable, reactive, and stunning user experiences.

This book covers the latest version of Oracle ADF Faces 12c and explains not only the basics of different ADF Faces components, but also how to use them to create a stunning looking application and improve it by using the Visualization components to enrich the user experience. The book starts with simple recipes by teaching you how to create your first ADF Faces application. It then moves on to introduce more advanced Oracle ADF components, Layouts, ADF Skinning, ADF Data Visualization components, ADF events, validation and conversion, and partial page rendering.

This book also covers different techniques to create reactive applications like Polling, Push, and the WebSocket protocol. Finally, this book also provides all the recipes you need to fine-tune the performance of ADF Faces web applications and to ensure you create your applications for reuse.

What You Will Learn

  • Understand what Oracle ADF Faces is and what it is used for
  • Explore different approaches to present and search your data
  • Learn about common ADF Faces components
  • Get to know about Oracle ADF Faces layout components and page templates
  • Master ADF Skins with the power of SASS and Compass
  • Learn about different ADF Faces Data Visualization components
  • Handle different components, events, and partial page rendering effectively
  • Learn how to use validators and converters
  • Create reactive applications using different approaches such as Polling, Push, and the WebSocket protocol
  • Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.

    Table of Contents

    1. Oracle ADF Faces Cookbook
      1. Table of Contents
      2. Oracle ADF Faces Cookbook
      3. Credits
      4. About the Author
      5. Acknowledgments
      6. About the Reviewers
      7. www.PacktPub.com
        1. Support files, eBooks, discount offers and more
          1. Why Subscribe?
          2. Free Access for Packt account holders
          3. Instant Updates on New Packt Books
      8. Preface
        1. What this book covers
        2. What you need for this book
        3. Who this book is for
        4. Conventions
        5. Reader feedback
        6. Customer support
          1. Downloading the example code
        7. Downloading the color images of this book
          1. Errata
          2. Piracy
          3. Questions
      9. 1. Building Your ADF Faces Environment From the Ground Up
        1. Introduction
        2. Preparing and structuring the OS for JDeveloper and ADF
          1. Getting ready
          2. How to do it…
          3. How it works…
        3. Installing JDK
          1. How to do it…
          2. How it works…
        4. Exploring different options to install the database
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. There's more…
        5. Installing JDeveloper
          1. How to do it…
          2. How it works…
          3. There's more…
        6. Tuning JDeveloper
          1. How to do it…
          2. How it works…
          3. See also
        7. Downloading the book's Git repository
          1. How to do it…
          2. How it works…
          3. See also…
      10. 2. Getting Started with ADF Faces and JDeveloper
        1. Introduction
        2. Creating an Application Workspace
          1. How to do it…
          2. How it works…
          3. See also
        3. Connecting your application to a database
          1. How to do it…
          2. How it works…
        4. Building Business Service
          1. How to do it…
          2. How it works…
        5. Defining the page flow
          1. How to do it…
          2. How it works…
        6. Creating a View page
          1. How to do it…
          2. How it works…
        7. Adding ADF Faces components to JSF pages
          1. How to do it…
          2. How it works…
        8. Running your first ADF Faces application
          1. How to do it…
          2. How it works…
      11. 3. Presenting Data Using ADF Faces
        1. Introduction
        2. Presenting single records on your page
          1. How to do it...
          2. How it works...
          3. See also
        3. Presenting multiple records using ADF Table
          1. How to do it...
          2. How it works...
          3. See also
        4. Presenting multiple records using ADF List View
          1. How to do it...
          2. How it works...
        5. Presenting multiple records using ADF Iterator
          1. How to do it...
          2. How it works...
        6. Presenting master-details records using ADF Tables and Forms
          1. How to do it...
          2. How it works...
        7. Presenting master-details records using ADF Tree and tree table components
          1. How to do it...
          2. How it works...
        8. Presenting master-details records using ADF List with a group header
          1. How to do it...
          2. How it works...
          3. There is more...
        9. Internationalizing and localizing your representation
          1. How to do it...
          2. How it works...
      12. 4. Using Common ADF Faces Components
        1. Introduction
        2. Using the inputText component
          1. How to do it...
          2. How it works...
          3. See also
        3. Using the inputNumber components
          1. How to do it...
          2. How it works...
        4. Using the inputDate component
          1. How to do it...
          2. How it works...
        5. Using the inputColor component
          1. How to do it...
          2. How it works...
        6. Using the selection components
          1. How to do it...
          2. How it works...
          3. See also
        7. Using the richTextEditor component
          1. How to do it...
          2. How it works...
          3. See also
        8. Using the inputFile component
          1. How to do it...
          2. How it works...
          3. See also
        9. Using the codeEditor component
          1. How to do it...
          2. How it works...
        10. Using the ListOfValues components
          1. How to do it...
          2. How it works...
          3. See also
        11. Using the pop-up dialogs, menus, and windows
          1. How to do it...
          2. How it works...
          3. See also
        12. Using menus, toolbars, and toolboxes
          1. How to do it...
          2. How it works...
        13. Using different output components
          1. How to do it...
          2. How it works...
        14. Using buttons and links for navigation
          1. How to do it...
          2. How it works...
        15. Using buttons and links to invoke functionalities
          1. How to do it...
          2. How it works...
        16. Utilizing XML Menu Model with NavigationPane, Breadcrumbs, and MenuBar
          1. How to do it...
          2. How it works...
        17. Using the train components
          1. How to do it...
          2. How it works...
          3. See also
        18. Working with dynamicComponent
          1. How to do it...
          2. How it works...
          3. See also
      13. 5. Beautifying the Application Layout for Great User Experience
        1. Introduction
        2. Creating a page template for your application
          1. How to do it…
          2. How it works…
          3. See also
        3. Adding layouts to the header and footer of the page template
          1. How to do it…
          2. How it works…
        4. Creating an ADF skin for your application
          1. How to do it…
          2. How it works…
          3. See also
        5. Changing skins at runtime
          1. How to do it…
          2. How it works…
          3. See also
        6. Using skins like a pro by using Sass and compass
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. See also
        7. Using mdia queries for a responsive web design
          1. How to do it…
          2. How it works…
          3. See also
        8. Using flat design techniques
          1. How to do it…
          2. How it works…
          3. See also
      14. 6. Enriching User Experience with Visualization Components
        1. Introduction
        2. Showing metrics with graph and gauge components
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        3. Putting data on maps
          1. How to do it...
          2. How it works...
          3. See also
        4. Using pivot tables instead of spreadsheets
          1. How to do it...
          2. How it works...
          3. See also
        5. Showing tasks on Gantt charts
          1. How to do it...
          2. How it works...
          3. See also
        6. Presenting the company's hierarchy using the Hierarchy Viewer
          1. How to do it...
          2. How it works...
          3. See also
        7. Presenting historical data using the Timeline component
          1. How to do it...
          2. How it works...
          3. See also
        8. Using sunburst to further show the hierarchical compositions
          1. How to do it...
          2. How it works...
          3. See also
      15. 7. Handling Events and Partial Page Rendering
        1. Introduction
        2. Using partial triggers
          1. How to do it…
          2. How it works…
        3. Using ADF Faces server events
          1. How to do it…
          2. How it works…
        4. Using ADF Faces client events
          1. How to do it…
          2. How it works…
        5. Sending custom events from a client to a server
          1. How to do it…
          2. How it works…
        6. Executing JavaScript within an event response
          1. How to do it…
          2. How it works…
        7. Using the scrollComponentIntoViewBehavior tag
          1. How to do it…
          2. How it works…
        8. Using the target tag to execute PPR
          1. How to do it…
          2. How it works…
        9. Using partial page navigation
          1. How to do it…
          2. How it works…
        10. Adding drag-and-drop capabilities
          1. How to do it…
          2. How it works…
          3. See also
        11. Using polling events to update pages
          1. How to do it…
          2. How it works…
          3. See also
        12. Using ADF Faces Active Data Service (ADS)
          1. How to do it…
          2. How it works…
          3. See also
        13. Using WebSockets for more interactive applications
          1. How to do it…
          2. How it works…
      16. 8. Validating and Converting Inputs
        1. Introduction
        2. Adding conversion
          1. How to do it…
          2. How it works…
          3. See also
        3. Creating a custom converter
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. See also
        4. Adding client-side capabilities to the converter
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. See also
        5. Adding validation
          1. How to do it…
          2. How it works…
          3. See also
        6. Creating a custom JSF validator
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. See also
        7. Adding client-side capabilities to the validator
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. See also
        8. Enhancing the Faces messages user experience
          1. How to do it…
          2. How it works…
      17. 9. Building Your Application for Reuse
        1. Introduction
        2. Creating task flow template for your repetitive tasks
          1. How to do it…
          2. How it works…
          3. See also
        3. Handling general exceptions using task flow templates
          1. How to do it…
          2. How it works…
        4. Using task flow parameters
          1. How to do it…
          2. How it works…
        5. Adding events to your task flow through contextual events
          1. How to do it…
          2. How it works…
          3. See also
        6. Creating declarative ADF Faces component
          1. How to do it…
          2. How it works…
        7. Packaging your ADF Faces resources as an ADF Library
          1. How to do it…
          2. How it works…
        8. Preserving user preferences using MDS
          1. Getting ready
          2. How to do it…
          3. How it works…
      18. 10. Scaling your ADF Faces Application
        1. Introduction
        2. Applying general advices regarding performance
          1. How to do it…
          2. How it works…
        3. Applying configuration performance recommendations
          1. How to do it…
          2. How it works…
        4. Applying ADF Faces component's attributes recommendations
          1. How to do it…
          2. How it works…
        5. Using Content Delivery Network to load your static resources
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. See also…
        6. Using ADF caching to cache and compress static resources
          1. How to do it…
          2. How it works…
          3. See also
      19. Index