Oracle ADF Faces Cookbook

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.

Oracle ADF Faces Cookbook

Cookbook
Amr Gawish

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.
$29.99
$49.99
RRP $29.99
RRP $49.99
eBook
Print + eBook
$12.99 p/month

Get Access

Get Unlimited Access to every Packt eBook and Video course

Enjoy full and instant access to over 3000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781849689229
Paperback358 pages

About This Book

  • Get to know what’s new in the latest version of ADF Faces 12c
  • Master ADF Skinning to rapidly create exceptional user experiences
  • Create scalable, reactive applications using ADF Faces

Who This Book Is For

If you are an ADF developer who wants to harness the power of Oracle ADF Faces to create exceptional user interfaces and reactive applications, this book will provide you with the recipes needed to do just that. You will not need to be familiar with Oracle ADF Faces, but you should be comfortable with Java application development, Java EE frameworks, and JSF. This book is also for ADF developers who know how to use Oracle ADF Faces but who want to know what’s new in Oracle ADF Faces 12c.

Table of Contents

Chapter 1: Building Your ADF Faces Environment From the Ground Up
Introduction
Preparing and structuring the OS for JDeveloper and ADF
Installing JDK
Exploring different options to install the database
Installing JDeveloper
Tuning JDeveloper
Downloading the book's Git repository
Chapter 2: Getting Started with ADF Faces and JDeveloper
Introduction
Creating an Application Workspace
Connecting your application to a database
Building Business Service
Defining the page flow
Creating a View page
Adding ADF Faces components to JSF pages
Running your first ADF Faces application
Chapter 3: Presenting Data Using ADF Faces
Introduction
Presenting single records on your page
Presenting multiple records using ADF Table
Presenting multiple records using ADF List View
Presenting multiple records using ADF Iterator
Presenting master-details records using ADF Tables and Forms
Presenting master-details records using ADF Tree and tree table components
Presenting master-details records using ADF List with a group header
Internationalizing and localizing your representation
Chapter 4: Using Common ADF Faces Components
Introduction
Using the inputText component
Using the inputNumber components
Using the inputDate component
Using the inputColor component
Using the selection components
Using the richTextEditor component
Using the inputFile component
Using the codeEditor component
Using the ListOfValues components
Using the pop-up dialogs, menus, and windows
Using menus, toolbars, and toolboxes
Using different output components
Using buttons and links for navigation
Using buttons and links to invoke functionalities
Utilizing XML Menu Model with NavigationPane, Breadcrumbs, and MenuBar
Using the train components
Working with dynamicComponent
Chapter 5: Beautifying the Application Layout for Great User Experience
Introduction
Creating a page template for your application
Adding layouts to the header and footer of the page template
Creating an ADF skin for your application
Changing skins at runtime
Using skins like a pro by using Sass and compass
Using mdia queries for a responsive web design
Using flat design techniques
Chapter 6: Enriching User Experience with Visualization Components
Introduction
Showing metrics with graph and gauge components
Putting data on maps
Using pivot tables instead of spreadsheets
Showing tasks on Gantt charts
Presenting the company's hierarchy using the Hierarchy Viewer
Presenting historical data using the Timeline component
Using sunburst to further show the hierarchical compositions
Chapter 7: Handling Events and Partial Page Rendering
Introduction
Using partial triggers
Using ADF Faces server events
Using ADF Faces client events
Sending custom events from a client to a server
Executing JavaScript within an event response
Using the scrollComponentIntoViewBehavior tag
Using the target tag to execute PPR
Using partial page navigation
Adding drag-and-drop capabilities
Using polling events to update pages
Using ADF Faces Active Data Service (ADS)
Using WebSockets for more interactive applications
Chapter 8: Validating and Converting Inputs
Introduction
Adding conversion
Creating a custom converter
Adding client-side capabilities to the converter
Adding validation
Creating a custom JSF validator
Adding client-side capabilities to the validator
Enhancing the Faces messages user experience
Chapter 9: Building Your Application for Reuse
Introduction
Creating task flow template for your repetitive tasks
Handling general exceptions using task flow templates
Using task flow parameters
Adding events to your task flow through contextual events
Creating declarative ADF Faces component
Packaging your ADF Faces resources as an ADF Library
Preserving user preferences using MDS
Chapter 10: Scaling your ADF Faces Application
Introduction
Applying general advices regarding performance
Applying configuration performance recommendations
Applying ADF Faces component's attributes recommendations
Using Content Delivery Network to load your static resources
Using ADF caching to cache and compress static resources

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

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.

Authors

Table of Contents

Chapter 1: Building Your ADF Faces Environment From the Ground Up
Introduction
Preparing and structuring the OS for JDeveloper and ADF
Installing JDK
Exploring different options to install the database
Installing JDeveloper
Tuning JDeveloper
Downloading the book's Git repository
Chapter 2: Getting Started with ADF Faces and JDeveloper
Introduction
Creating an Application Workspace
Connecting your application to a database
Building Business Service
Defining the page flow
Creating a View page
Adding ADF Faces components to JSF pages
Running your first ADF Faces application
Chapter 3: Presenting Data Using ADF Faces
Introduction
Presenting single records on your page
Presenting multiple records using ADF Table
Presenting multiple records using ADF List View
Presenting multiple records using ADF Iterator
Presenting master-details records using ADF Tables and Forms
Presenting master-details records using ADF Tree and tree table components
Presenting master-details records using ADF List with a group header
Internationalizing and localizing your representation
Chapter 4: Using Common ADF Faces Components
Introduction
Using the inputText component
Using the inputNumber components
Using the inputDate component
Using the inputColor component
Using the selection components
Using the richTextEditor component
Using the inputFile component
Using the codeEditor component
Using the ListOfValues components
Using the pop-up dialogs, menus, and windows
Using menus, toolbars, and toolboxes
Using different output components
Using buttons and links for navigation
Using buttons and links to invoke functionalities
Utilizing XML Menu Model with NavigationPane, Breadcrumbs, and MenuBar
Using the train components
Working with dynamicComponent
Chapter 5: Beautifying the Application Layout for Great User Experience
Introduction
Creating a page template for your application
Adding layouts to the header and footer of the page template
Creating an ADF skin for your application
Changing skins at runtime
Using skins like a pro by using Sass and compass
Using mdia queries for a responsive web design
Using flat design techniques
Chapter 6: Enriching User Experience with Visualization Components
Introduction
Showing metrics with graph and gauge components
Putting data on maps
Using pivot tables instead of spreadsheets
Showing tasks on Gantt charts
Presenting the company's hierarchy using the Hierarchy Viewer
Presenting historical data using the Timeline component
Using sunburst to further show the hierarchical compositions
Chapter 7: Handling Events and Partial Page Rendering
Introduction
Using partial triggers
Using ADF Faces server events
Using ADF Faces client events
Sending custom events from a client to a server
Executing JavaScript within an event response
Using the scrollComponentIntoViewBehavior tag
Using the target tag to execute PPR
Using partial page navigation
Adding drag-and-drop capabilities
Using polling events to update pages
Using ADF Faces Active Data Service (ADS)
Using WebSockets for more interactive applications
Chapter 8: Validating and Converting Inputs
Introduction
Adding conversion
Creating a custom converter
Adding client-side capabilities to the converter
Adding validation
Creating a custom JSF validator
Adding client-side capabilities to the validator
Enhancing the Faces messages user experience
Chapter 9: Building Your Application for Reuse
Introduction
Creating task flow template for your repetitive tasks
Handling general exceptions using task flow templates
Using task flow parameters
Adding events to your task flow through contextual events
Creating declarative ADF Faces component
Packaging your ADF Faces resources as an ADF Library
Preserving user preferences using MDS
Chapter 10: Scaling your ADF Faces Application
Introduction
Applying general advices regarding performance
Applying configuration performance recommendations
Applying ADF Faces component's attributes recommendations
Using Content Delivery Network to load your static resources
Using ADF caching to cache and compress static resources

Book Details

ISBN 139781849689229
Paperback358 pages
Read More

Recommended for You

Developing Web Applications with Oracle ADF Essentials
$ 29.99