Book Image

Wildfly Cookbook

Book Image

Wildfly Cookbook

Overview of this book

Table of Contents (23 chapters)
WildFly Cookbook
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Deploying and undeploying an application to a specific server group via Web Console


In this recipe, we will learn how to deploy and undeploy an application via the Web Console, and assign it to a server group.

Getting ready

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

How to do it…

  1. Open your browser and point it...