Deployment descriptor

what is the need for deployment descriptor
LVL 9
Manikandan ThiagarajanSenior consultantAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

fargoCommented:
deployment description defines everything about your application which server needs to know. In container like tomcat, web.xml shows the deployment descriptor. It is just an xml document with heirarchial information about your application. It should follow the element position defined by the document type descriptors.

following like shows a good example on hierarchy for servlet specification 2.3
http://www.javaranch.com/carl/scwcd/servlet2.3dd.jsp

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
gksinghietCommented:
Also refer to the dtd of deployment descriptor:
http://java.sun.com/dtd/web-app_2_3.dtd
It tells what all tags are used in the deployment descriptor along with there usage.
0
fargoCommented:
fargo@ It should follow the element position defined by the document type descriptors. (dtd) actually it is document type definition
http://www.w3schools.com/dtd/dtd_intro.asp
0
Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

KantiCommented:
In short Deployment descriptor gives all the info in an XML way  to the Application Server .
The info might be JSP , Servlets , Ejb, environment info etc

This link might help --

http://edocs.bea.com/wls/docs61/webapp/webappdeployment.html
0
Mayank SAssociate Director - Product EngineeringCommented:
Basically, its for tweaking your application's configuration in different runs of the application (e.g., you want to use a different Servlet URL, add an EJB, etc).
0
Manikandan ThiagarajanSenior consultantAuthor Commented:
>>its for tweaking your application's configuration in different runs of the application

meaning
0
Mayank SAssociate Director - Product EngineeringCommented:
Meaning changing the configuration. By configuration, I mean number of servlets, number of EJBs, their properties (like class-name, URL, etc) that will be used when the application runs.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.