The other use case that was brought up was to merge multiple standard descriptors into a consolidated location. So inside of web.xml, we could have the configuration for:

web.xml
faces-config.xml
persistence.xml
orm.xml
beans.xml

The idea is to have one descriptor and support all the different configuration schemas that Java EE provides. The result would look something like the Seam component descriptor (or Spring's applicationContext.xml).

So there are two separate goals here.

1. Merge vendor extensions into the standard descriptor (Hibernate mappings into orm.xml or persistence.xml, for instance)
2. Combine all configurations into a single, consolidated descriptor (web.xml for WAR, ejb-jar.xml for EJB-JAR, and applications.xml for EAR)

-Dan

--
Dan Allen
Senior Software Engineer, Red Hat | Author of Seam in Action
Registered Linux User #231597

http://mojavelinux.com
http://mojavelinux.com/seaminaction
http://www.google.com/profiles/dan.j.allen