When you no longer need to run an application that was added to the server using the IDE, you can use the Runtime window to remove the application's context from the server.
By default, applications and modules are automatically registered, deployed and made available on the server when you run a project, and are automatically redeployed when they have been modified in the IDE. Once deployed, applications remain on the server until they are removed.
Deployed applications are visible in the Runtime window in the server instance node under Enterprise Applications or Web Applications. When you undeploy an application, the archive file (ear, war, jar) is removed from the server and is no longer visible in the Runtime window.
To remove an application from a server: