Download the latest version of Wildfly from http://wildfly.org/downloads/, I downloaded the 9.0.0final version.
Unzip the downloaded zip package to any folder on the local disk, I unzip to D:\soft\, the final jboss_home directory is: D:\soft\wildfly-9.0.0.Final
Run the Standalone.bat file in the Jboss_home\bin directory to start the service
Download the latest QuickStart example from https://github.com/wildfly/quickstart/tree/9.x
CMD command line into the Hellword directory under the QuickStart directory, run the following command to deploy the Hellword project (note to ensure that the wildfly service is started)
MVN Clean Package Wildfly:deploy
After successful startup, access the following address to verify deployment success: Http://localhost:8080/wildfly-helloworld
If you want to clear the deployment file that you just made, run the following command (note to ensure that the Wildfly service is started)
MVN Wildfly:undeploy
For more details, refer to Wildfly's official documentation: Https://github.com/wildfly/quickstart/tree/9.x#wildfly-quickstarts
Getting Started with Wildfly