[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 474
  • Last Modified:

Deployment descriptor

what is the need for deployment descriptor
0
Manikandan Thiagarajan
Asked:
Manikandan Thiagarajan
1 Solution
 
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
 
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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now