You can delete modules from existing Java™ EE applications.
About this task
When you create a Java EE
project, code is generated in files as part of the process of creating
the project. After you delete a module or a bean in a Java EE project, the affected files are also
cleaned up. You can delete web modules, EJB modules, Application Client
modules, Connector modules, or EJB client, or utility modules.
Procedure
-
Right-click the module that you want to delete, and select Delete.
Alternatively, you can select the module in the project view, and
press Delete. A dialog box appears, confirming
the deletion.
-
Select Preview. A refactoring page
appears listing the items that are affected by your delete action.
Clear the items that you do not want to be removed with the delete
process, and click OK.
- Deleting a web module:
- Deleting an EJB module:
- Deleting an Application Client module:
- Deleting a Connector module:
- Deleting a utility module: