Book Image

Oracle ADF Enterprise Application Development Made Simple: Second Edition

By : Sten E Vesterli
Book Image

Oracle ADF Enterprise Application Development Made Simple: Second Edition

By: Sten E Vesterli

Overview of this book

Table of Contents (20 chapters)
Oracle ADF Enterprise Application Development – Made Simple Second Edition
Credits
About the Author
Acknowledgment
About the Reviewers
www.PacktPub.com
Preface
Index

Framework extension classes


In addition to the page flow templates and page templates that are used for the frontend part of the application, you also need another kind of template for the backend Business Components.

The ADF framework uses eight base classes for Business Components. The four most important ones are as follows:

  • EntityImpl: This class corresponds to one row of data and contains methods to create a row, set attribute values, and perform database operations.

  • ViewObjectImpl: This class corresponds to the view object query. The methods in this class allow you to set a bind variable, modify the WHERE clause, and execute the query.

  • ViewRowImpl: This class corresponds to the result set from a query and contains a collection of pointers to the actual data stored in the EntityImpl objects.

  • ApplicationModuleImpl: This class is an instance of an application module; different users will have different instances. Methods in this class handle database transactions.

The ADF framework uses...