What is deployment descriptor

Answered by Jey on 2005-05-08 12:59:41:

Deployment Descriptor is a XML document with .xml extenion. It basically descripes the deployment settings of an application or module or the component. At runtime J2EE server reads the deployment descriptor and understands it and then acts upon the component or module based the information mentioned in descriptor.  
 
For example EJB module has a deployment descriptor ejb-jar.xml where we mention whether it is session or entity or mesage driven bean and where is the home, remore and Bean classes are located and what type of transaction etc. In a simple word, without deployment descritor the Container ( EJB/Servlet/JSP container) will not know what to do with that module.

Showing Answers 1 - 4 of 4 Answers

Jey

  • May 8th, 2005
 

Deployment Descriptor is a XML document with .xml extenion. It basically descripes the deployment settings of an application or module or the component. At runtime J2EE server reads the deployment descriptor and understands it and then acts upon the component or module based the information mentioned in descriptor.  
 
For example EJB module has a deployment descriptor ejb-jar.xml where we mention whether it is session or entity or mesage driven bean and where is the home, remore and Bean classes are located and what type of transaction etc. In a simple word, without deployment descritor the Container ( EJB/Servlet/JSP container) will not know what to do with that module.

  Was this answer useful?  Yes

kirankpv

  • Feb 9th, 2008
 

Deployment Descriptor is a XML document with .xml extenion. It basically describes the deployment settings of an application . At runtime webcontainer reads the deployment descriptor and understands  which .class file is mapped to the url-patteren name based on the information mentioned in descriptor.  the webcontainer calls that file

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions