Time for action – creating the business components
Let us now create the business components using the following steps:
- 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. - In the Business Tier section, select ADF Business Components.
- 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. - 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.