Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Oracle ADF Faces Cookbook
  • Table Of Contents Toc
Oracle ADF Faces Cookbook

Oracle ADF Faces Cookbook

By : Amr Ismail Gawish
4 (6)
close
close
Oracle ADF Faces Cookbook

Oracle ADF Faces Cookbook

4 (6)
By: Amr Ismail Gawish

Overview of this book

This is a cookbook that covers more than 80 different recipes to teach you about different aspects of Oracle ADF Faces. It follows a practical approach and covers how to build your components for reuse in different applications. This book will also help you in tuning the performance of your ADF Faces application. 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 (12 chapters)
close
close
11
Index

Using polling events to update pages


ADF Faces provides the poll component that have both server and client side events, namely, pollEvent, which can be used to communicate with the server at specified intervals. This can be useful to provide updates to certain components at a fixed interval, and by decreasing this interval, you are getting close to providing live updates.

In this recipe, we will refresh the employees table every 5 seconds to see the changes in the table, and we will mimic this change by editing values in the database directly and see how it gets reflected on the page. You can refer to the last recipe, or you can grab this project's recipe by cloning ADFFacesPolling application from the Git repository.

How to do it…

To learn how to use the poll component, follow the ensuing steps:

  1. Open the adfc-config.xml file.

  2. Drag a view from the Components palette and drop it inside the Diagram mode.

  3. Name the view pollEmployees.

  4. Double-click on the newly created view to create the page and choose...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Oracle ADF Faces Cookbook
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon