Deployment descriptors relate installation and configuration information about applications to the application servers. They can also be used to convey information about the application to other people involved in the development process.
If you want to create an application that can be deployed without the headache of manually configuring its components, then packaging it as a WAR, JAR, or EAR file is the best approach. Each of these files requires a deployment descriptor.
The following bulleted lists are meant to show the overlap of deployment descriptor elements.
Common elements in all descriptors (web.xml, application.xml, and ejb- jar.xml):
Elements in only web.xml and ejb-jar.xml deployment descriptors:
Elements in application.xml deployment descriptor only:
Elements in web.xml deployment descriptor only:
Elements in ejb-jar.xml deployment descriptor only:
No comments:
Post a Comment