Time for action – creating the business components

Let us now create the business components using the following steps:

  1. To create a new component, go to File | New; this can also be done by right-clicking on the Model project, the directory, or the folder, and selecting New.
  2. In the Business Tier section, select ADF Business Components.
  3. A Create Business Components from Tables wizard will open up for you; select the Entity Objects option.

    Note

    An entity object is a representation of a single row of the table. It is the metadata mapping of a single object in the data source table. We represent the EMP table as an entity object in ADF for the easy mapping of columns and business logic.

  4. Enter the package for your entity object as com.empdirectory.model.entity ...

Get Oracle ADF 11gR2 Development Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.