The ejb-jar.xml visual editor lets you edit the general for an EJB module. You open the editor by expanding the project's Configuration Files node in the Projects window and double-clicking ejb-jar.xml.
Click CMP Relationships at the top of the editor to view and edit the container-managed relationships between the CMP entity beans in the EJB module. The table displays the CMP relationships in the module.
To remove a CMP relationship:
To edit a CMP relationship:
Notes:
The Edit CMP Relationship dialog box enables you to modify the following properties.
If the multiplicity is set to many, you can choose whether to return java.util.Set or java.util.Collection. Choose java.util.Set if the returned beans cannot be duplicates. Choose java.util.Collection if the returned beans can include duplicates.