Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Oracle ADF Faces Cookbook

You're reading from   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.

Arrow left icon
Product type Paperback
Published in Mar 2014
Publisher
ISBN-13 9781849689229
Length 358 pages
Edition Edition
Arrow right icon
Author (1):
Arrow left icon
Amr Ismail Gawish Amr Ismail Gawish
Author Profile Icon Amr Ismail Gawish
Amr Ismail Gawish
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Oracle ADF Faces Cookbook
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
1. Building Your ADF Faces Environment From the Ground Up 2. Getting Started with ADF Faces and JDeveloper FREE CHAPTER 3. Presenting Data Using ADF Faces 4. Using Common ADF Faces Components 5. Beautifying the Application Layout for Great User Experience 6. Enriching User Experience with Visualization Components 7. Handling Events and Partial Page Rendering 8. Validating and Converting Inputs 9. Building Your Application for Reuse 10. Scaling your ADF Faces Application Index

Preface

Oracle ADF Faces is the view/controller part of the Oracle ADF end-to-end framework. ADF Faces has more than 150 Ajax-enabled components that help developers to rapidly build applications that are robust, reactive, and easy to use.

In this book, we will learn how to deal with the different features of the ADF Faces framework. In the first part of the book, we will learn how to install JDeveloper and ADF, create a simple Oracle ADF application, present data in different ways using ADF Faces components, and use common ADF components such as inputs, menus, toolbars, and more.

In the second part of the book, we will understand how to create a unified template for ADF Faces applications, apply different skinning techniques, and use different visualization components and graphs.

In the last part of the book, we will learn how to use partial page rendering and different ADF Faces events; create reactive applications using polling, push, and WebSockets; add validation and conversion for different ADF Faces inputs; and create different ADF Faces resources for reuse. Finally, we will discuss some best practices, tips, and advice on how to scale and tune your ADF Faces application.

What this book covers

Chapter 1, Building Your ADF Faces Environment from the Ground Up, provides the necessary steps to build your environment and install different software to work with ADF Faces.

Chapter 2, Getting Started with ADF Faces and JDeveloper, focuses on getting you started with a simple ADF application and showing you how to deal with JDeveloper IDE.

Chapter 3, Presenting Data Using ADF Faces, shows different ways to present business service data with highlights over i18n and l10n.

Chapter 4, Using Common ADF Faces Components, describes how to work with the common ADF Faces components.

Chapter 5, Beautifying the Application Layout for Great User Experience, provides different techniques of creating great looking application by creating templates and skins, and by using advanced skinning techniques.

Chapter 6, Enriching User Experience with Visualization Components, explains how to work with different ADF Faces Visualization components to create great dashboards.

Chapter 7, Handling Events and Partial Page Rendering, describes how to use partial page rendering and different ADF events. It also provides an explanation of how to create great reactive applications by understanding how to use polling, push, and work with WebSockets.

Chapter 8, Validating and Converting Inputs, explains how to provide conversion and validation for different input components to insure the validity of the data returned to the service layer.

Chapter 9, Building Your Application for Reuse, shows how to create different resources for reuse, such as task flow templates, declarative components, contextual events, and how to package your application for reuse.

Chapter 10, Scaling Your ADF Faces Application, provides multiple tips and advice of how to scale your application and tune its performance.

What you need for this book

To make sure you can work with the recipes in this book, the following software will be required:

  • JDK: Java SE Development Kit 7u45 or newer

  • Oracle Database: Oracle 10g or newer

  • Oracle JDeveloper: Oracle JDeveloper 12c (12.1.2.0.0) or newer

  • Miscellaneous tools: Scout App (0.7.1) or newer

Who this book is for

If you are an ADF developer who wants to harness the powers of Oracle ADF Faces to create exceptional user interfaces and reactive applications, this book will provide you with the recipes needed to just do that. Readers of this book need to know little or none about Oracle ADF Faces, but should be comfortable with the development of Java applications, Java EE frameworks, and JSF. This book is also for ADF developers who know Oracle ADF Faces but want to know what's new in Oracle ADF Faces 12c.

Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "Open the jdev\bin\jdev.conf path under the jdeveloper directory."

A block of code is set as follows:

# optimize the JVM for strings / text editing
AddVMOption -XX:+UseStringCache
AddVMOption -XX:+OptimizeStringConcat
AddVMOption -XX:+UseCompressedStrings

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

builder.append("AdfPage.PAGE.showMessages(component.getClientId());");
builder.append("component.focus();");
erks.addScript(context, builder.toString());

Any command-line input or output is written as follows:

PATH=%JAVA_HOME%\bin;

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "Click on Finish after you finish and you will have the entire book's Git repository locally."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

Reader feedback

Feedback from our readers is always welcome. Let us know what you think about this book—what you liked or may have disliked. Reader feedback is important for us to develop titles that you really get the most out of.

To send us general feedback, simply send an e-mail to , and mention the book title via the subject of your message.

If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide on www.packtpub.com/authors.

Customer support

Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.

Downloading the example code

You can download the example code files for all Packt books you have purchased from your account at http://www.packtpub.com. You can also download the files from GitHub at https://github.com/agawish/ADF-Faces-Cookbook/archive/master.zip. 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.

Downloading the color images of this book

We also provide you a PDF file that has color images of the screenshots/diagrams used in this book. The color images will help you better understand the changes in the output. You can download this file from https://www.packtpub.com/sites/default/files/downloads/9229EN_Images.pdf.

Errata

Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books—maybe a mistake in the text or the code—we would be grateful if you would report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting http://www.packtpub.com/submit-errata, selecting your book, clicking on the errata submission form link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded on our website, or added to any list of existing errata, under the Errata section of that title. Any existing errata can be viewed by selecting your title from http://www.packtpub.com/support.

Piracy

Piracy of copyright material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works, in any form, on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.

Please contact us at with a link to the suspected pirated material.

We appreciate your help in protecting our authors, and our ability to bring you valuable content.

Questions

You can contact us at if you are having a problem with any aspect of the book, and we will do our best to address it.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime