Re: <font color=red>What is Deployment Descriptor</font>
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.