Managing Container-Managed Relationships

See Also

  1. In the Projects window, expand the Configuration Files node for the EJB module project and double-click ejb-jar.xml.
  2. In the top of the graphical editor, click CMP Relationships.

    The visual editor displays a table of the existing container-managed relationships for the EJB module.

  3. Do one of the following:
  4. In the dialog box, specify a name and description for the relationship.
  5. For each end of the relationship, define the following:
  6. Specify whether to add getter and setter methods for the field to the entity bean's local interface.
Notes:
See Also
About Container-Managed Relationships
About Deployment Descriptors
Configuring EJB Deployment Descriptors
About Configuring EJB Modules
Generating CMP Entity Beans from a Database

Legal Notices