USAA Interview Question
Software Engineer / DevelopersA deployment descriptor contains configuration data that the run-time environment uses for an application. A deployment descriptor can include information about the following:
* The structure and content (enterprise beans or servlets, for example) of the application.
* References to internal and external dependencies of the application. For example, an enterprise bean in an EJB module can require another enterprise bean that is not bundled in the same module.
* References to resource factory objects, such as URLs, JDBC DataSources, JavaMail Sessions, JMS Connection Factories, JMS Destinations, and J2C Connection Factories.
* Security roles that the container uses when implementing the required access control for the application.
* Transactional information about how (and whether) the container is to manage transactions for the application.
Example of deployment descriptor is web.xml for a web application.
- Anonymous May 07, 2010