Hi vsbronnikov,
It's not that bad an idea. In fact, I already had that idea and implemented it in an earlier version of the dm Server (i.e., during the initial beta period).
However, the test of time made it apparent that having too many Web-* manifest headers is overkill. Thus, we came up with a new idea called
web.xml fragments which allow you to configure your web.xml deployment descriptor just as you normally would, and the auto-generated configuration from Web-* manifest headers is merged with the contents of your web.xml fragment. This is described in detail in the Web Modules section of the dm Server Programmer Guide.
Also, please note that the use of Web-* manifest headers (with the exception of Web-ContextPath) and web.xml fragments is only supported for Web Modules. Thus, with a standard Java EE WAR, Shared Libraries WAR, or Shared Services WAR, you can continue to configure your Spring-powered web application as you normally would in a single web.xml file.
Regards,
Sam