Deleting Java EE modules

Once you have created a Java™ EE application, you might want to delete modules within it.

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. To delete a web module, EJB module, Application Client module, Connector module, or EJB client, or utility module:

Procedure

  1. 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 delete.
  2. Select Preview. A refactoring page appears listing the items affected by your delete action. Clear the items you do not want to be removed with the delete process, and click OK.
    • Deleting a web module:
      Deleting a web module
    • Deleting an EJB module:
      Deleting an EJB project
    • Deleting an Application Client module:
      Deleting an application client module
    • Deleting a Connector module:
    • Deleting a utility module:
      Deleting a utility module

Feedback