In this recipe, we will learn how to deploy and undeploy an application via the Web Console, and assign it to a server group.
For this recipe, both the domain controller and the host controllers should be up and running. For their configuration, refer to the recipe Connecting the host controller to the domain controller in this chapter.
In this and the following recipe, we will need an application to test our configuration. For this recipe, we will need the application named example
which you can find in my GitHub repository. If you skipped the "Managing applications using the deployments folder recipe in Chapter 2, Running WildFly in Standalone Mode, please refer to it to download all the source code and projects that you will need.
To build the application, type as follows:
$ cd $WILDFLY_HOME/github/wildfly-cookbook $ cd example $ mvn -e clean package