Undeploying An EJB JAR file

In a conventional JBoss server, undeploying any packages is simple: the deployed archive file should be deleted from the relevant server folder in JBoss. For example, simply delete an archive file from the C:\jboss4\server\default\deploy folder to undeploy the module. If JBoss is running it detects the change and dynamically undeploys the contents.

When programming using JBoss IDE, there are several other ways to undeploy package.

  1. Open J2EE Perspective: Window > Open Perspective > Other... > J2EE.

  2. In the Servers View, expand the JBoss 4 EJB 3.0 Server and right click on calculator.jar EJB module. Select Remove. This will undeploy calculator.jar EJB module.

    Remove

Another way to undeploy package from JBoss server.

  1. Open JBoss AS Perspective: Window > Open Perspective > Other... > JBoss AS.

  2. In the JBoss Server View, expand the JBoss 4 EJB 3.0 Server / Modules and right click on calculator.jar EJB module. Select Remove. This will undeploy calculator.jar EJB module.

    Remove

OPTIONALLY: Stop the JBoss server by right clicking and selecting Stop menu item:

Stop

Professional hosting     Belorussian informational portal         Free SCWCD 1.4 Study Guide     Free SCDJWS 1.4 Study Guide     SCDJWS 1.4 Quiz     Free IBM Certified Associate Developer Study Guide     IBM Test 000-287. Enterprise Application Development with IBM WebSphere Studio, V5.0 Study Guide     Free Mock Exam Engine