title: Is Java 9 modularity for WAR files as well?
body: <p>A Java EE 7 application server, and specifically a Servlet 3.1 container should allow us to deploy a WAR file that contains a web application. And a WAR file is essentially a JAR with deployment descriptor (<code>web.xml</code>) and couple of other elements.</p>
  
  <p>On the other hand, Java 9 introduces a notion of <strong>modular JAR file</strong>, that is, a JAR with module descriptor (<code>module-info.class</code>) which makes a module in terms of project Jigsaw.</p>
  
  <p>So, can a WAR file contain a module descriptor as well and make a "modular WAR file"?</p>
  
  <p>Are there already application servers capable of accepting deployment of a "modular WAR file"?</p>
  
  <p>Generally what is the future of servlet containers and WAR files in terms of Java 9 modularity ?</p>