<font color=red>What is Deployment Descriptor</font>
1 posts in topic
Flat View  Flat View

Posted By:   sabu_vs
Posted On:   Sunday, August 4, 2002 11:29 PM


Can anyone tell me

1. what is Deployment Descriptor

2. why it needs

and 3.how does it works? .

The Deployment Descriptor is in servlet/jsp and in EJB development.
Do Deployment Descriptor do the same in all these environments?

Thanks in advance


Re: <font color=red>What is Deployment Descriptor</font>

Posted By:   Ivo_Limmen  
Posted On:   Sunday, August 4, 2002 11:51 PM

Deployment descriptors is someting invented in J2EE to make software easier. This only means that I, as a programmer, program less but that there is someone who will install the software somewhere who has to make the deployment descriptors based on their system.
The deployment descriptors are meant to generalize the software. In EJB this means describing the database, the location, the tuning of the container, ect. In servlets (and JSP) this means filling in parameters that the programmer made and setting the name of the context (i.e. http:/). The deployment descriptors of servlets and JSP aren't really all that exciting as the EJB deployment descriptor. If you use custom tags or something like struts they you must include a few settings in the deployement descriptor because the engine needs to know where the extra tags are from. For struts it needs to know where the configuration is, ect.
About | Sitemap | Contact