Getting Started Guide - WildFly 10 - Project Documentation Editor should answer most questions, i.e. you download the whole distribution but then use standalone.xml or standalone-ha.xml profiles which are EE7 Web profiles.
Thanks for your reply. But can you please tell me what the Servlet-Only Distribution is used for?
From our release announcement at WildFly 9 Final is released! · WildFly
> The new "WildFly Servlet" distribution, provides a stripped down, yet fully manageable Servlet-only distribution. This is useful for applications that prefer to roll-their-own frameworks, and wish to conserve disk space.
So it is what it says it is, a servlet container with our management interfaces, etc. It does not contain EJB, JMS, etc. You can somehow think of it as Tomcat.