Time for action – creating an association between EmpEO and DeptEO objects

Carry out the following steps to create an association between EmpEO and DeptEO objects:

  1. Select the New option from the File menu and select ADF Business Component from the Business Tier.
  2. Enter the package name as com.empdirectory.model.association and the name as EmpEOToDeptEOAssoc in the Create Association wizard. The package structure for all these business objects can be predefined from the Tools | Preferences | ADF Business Components | Packages section.
  3. Click on the Next > button to create an association between the entity objects. Select the value of Cardinality as * to 1 from the drop-down menu to represent the many-to-one relationship between EmpEO and DeptEO.

    Note ...

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.