This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
User can't delete ejb-ref element for database, mail from visual editor of ejb-jar.xml file. I think that this Remove button should remove ejb-ref eelemnt from DD and appropriate methods in source code or do other smart refactoring task.