The deployment within JBoss Eclipse IDE can be done in two ways:
In addition, the deployment target is stored during the workbench session. This means that if you have deployed a package on a target, you can redeploy or undeploy it without specifying the target. The Deployer plugin automatically creates file-system targets from the debug configurations. Other deployment target can be defined.
Select Window > Preferences. The workbench preferences appears. Select JBoss-IDE > Deployer to display the defined deployment targets. The upper area contains the file system targets build upon the debug configuration defined. The lower area contains the user-defined deployment targets. | |
We assume that we want to deploy to a pre-defined JBoss instance and we don’t define custom deployment targets. The deployment is fairly simple. Right click on the FiboApp.ear file and select the Deployment > Deploy To… item. | |
A dialog box appears with the list of the deployment targets. It contains both the default and the user-defined deployment targets. Select the one you are interested in (the one for the running server is probably a good idea !). | |
In the console view, you should see some deployment activity. The J2EE application is now deployed. | |
When a resource is deployed, a small decorator appears in the top-left corner of the icon. |