You can delete enterprise beans from projects directly
from the diagram editor.
You must have a class diagram with enterprise
beans open in the diagram editor.
To delete enterprise beans from a project, in the diagram
editor, right-click selected enterprise beans; then click Delete from
Deployment Descriptor.
Note: When you delete enterprise beans from
a project, the underlying semantics are also deleted.