Book Image

Oracle ADF Faces Cookbook

By : Amr Gawish, Amr Ismail Gawish
Book Image

Oracle ADF Faces Cookbook

By: Amr Gawish, Amr Ismail Gawish

Overview of this book

Table of Contents (18 chapters)
Oracle ADF Faces Cookbook
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Creating task flow template for your repetitive tasks


The smallest logic in your application should be inside your task flow. However, sometimes the task flow itself is repeated in the same way with minor differences but shares the same structure. ADF Faces introduces the concept of an ADF task flow template to eliminate this repetition and automate the task flow creation process to focus more on your business logic and less on your development time.

In this recipe, we will create a task flow template to perform simple CRUD (Create/Retrieve/Update/Delete) operations over employees. In order to do this effectively, we will create one task flow template for these operations and then create a solid task flow to implement it for employees, which can be used again for departments, regions, and more.

In this recipe, the application and its model have been created for you. You can grab this project's recipe by cloning the CreatingTaskFlowTemplate application from the Git repository.

How to do it…

To...