This blog is for the customers who wants to use wildfly-swarm container which is the reconstitution of the popular WildFly Java Application Server. As you know you can bring your own customized version of Tomcat and Jetty containers are described in the blog – https://azure.microsoft.com/en-us/documentation/articles/web-sites-java-custom-upload/.
On similar lines, you can use the wildfly-swarm by adding the following configuration in the web.config –
You can achieve same by using the site extension Java Configurator. The advantage of using the site extension is that, it uses applicationHost.xdt file instead of web.config, so that your webapp is not restarted when you make the changes and you can control the restart when desired. Also, it avoids any manual configuration errors and you can revert it anytime you want easily.