Deployment in standalone mode
We will begin by deploying an application in a standalone EAP. First we will see how the application server takes care of your bundles automatically just by dropping them into the deployments folder. We will then see how you can manage the life cycle of your application by using marker files.
Automatic deployment
To deploy an application, JBoss provides a deployment folder named deployment, where a service called DeploymentScanner waits for changes.
Let's start an EAP instance by issuing the following command:
$JBOSS_HOME/bin/standalone.sh
Once an EAP is started, copy the helloworld
application into the standalone/deployments
folder of JBOSS_HOME
. After a few seconds you should see similar entries in your log file: ...
Get Mastering JBoss Enterprise Application Platform 7 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.