Book Image

JDBC 4.0 and Oracle JDeveloper for J2EE Development

Book Image

JDBC 4.0 and Oracle JDeveloper for J2EE Development

Overview of this book

Table of Contents (20 chapters)
JDBC 4.0 and Oracle JDeveloper for J2EE Development
Credits
About the Author
About the Reviewer
Preface

Chapter 14. Creating Oracle ADF Business Components

Oracle Application Development Framework (ADF) is a J2EE framework that simplifies J2EE development and Oracle JDeveloper provides a declarative development environment for it. The Business Components for Java (BC4J) layer of the ADF is a JDBC-based programming framework for developing database-centric business services in Java. ADF Business Components use JDBC to query the database. A Business Components application consists of entity objects, view objects, and application module and additionally associations and view links. ADF Business Components may be used with different view layers like JavaServer pages, UIX, and Swing.

The Entity Object in ADF Business Components performs all the database interaction and validation and is also where the business logic gets defined. Entity Objects are based on database tables and map table columns to attributes in Java. Entity Objects encapsulate business logic, define validation rules, and also cache...