 |
...happens because proliferation of XML deployment "descriptor" files needed in J2EE applications. In many cases the information stored in these descriptors violates the DRY (Don't Repeat Yourself) principle.
The typical J2EE application consists of these deployment descriptors:
- application.xml - defines the web context roots, etc
- ejb-jar.xml - defines EJB interfaces, security constraints on EJB's, etc.
- web.xml - defines servlet defintions, mappings, URI security constraints, etc.
Vendors and other common frameworks also add to this, for example:
Solutions
Use XDoclet.
|