What is the use of deployment descriptor?

Asked by Last Modified  

69 Answers

Learn Java

Follow 1
Answer

Please enter your answer

A deployment descriptor describes how a component, module or application should be deployed. A web application’s deployment descriptor describes the classes, resources and configuration of the application and how the web server uses them to serve web requests. When the web server receives a request...
read more
A deployment descriptor describes how a component, module or application should be deployed. A web application’s deployment descriptor describes the classes, resources and configuration of the application and how the web server uses them to serve web requests. When the web server receives a request for the application, it uses the deployment descriptor to map the URL of the request to the code that ought to handle the request. read less
Comments

Full Time java Developer

Deployment Descriptor tells the application container how the web app should be configured.This is where you register your servlets and filters, add context parameters, and lots of other useful things.(web.xml is eg of deployment descriptor)
Comments

Industry expert and professional lecturer/trainer

Deployment descriptor is used in J2ee to mention parameters required at application level and servlet layer. Also used for servlet to URL mapping. Also used for security by mentioning params
Comments

Java,J2EE,Spring,Webservices,Hibernate,Cloud And Android Expertise

Deployment descriptor will contain the all the information about your application such as servlet configuration,JSP and other parameters and URL mappings
Comments

It contains the instructions to assemble and deploy a web application or enterprise application to a application server.
Comments

Java Trainer

It will describe how you are going to deploy / access your web application. As an example: It will contain, which program should execute / invoke for user input from the browser (url) Which servlet should be ready before it receives any request. what are the additional parameters etc etc. all...
read more
It will describe how you are going to deploy / access your web application. As an example: It will contain, which program should execute / invoke for user input from the browser (url) Which servlet should be ready before it receives any request. what are the additional parameters etc etc. all such details will be described to be understandable by the server in an xml format. read less
Comments

Java/J2EE, B.E./B.Tech/MCA SubjectsTraining

Deployment descriptor describes how the web application should be deployed. The web application deployment descriptor describes a lot more about a web application. The web application deployment descriptor is written using the Extensible Markup Language (XML) syntax. The web application deployment descriptor...
read more
Deployment descriptor describes how the web application should be deployed. The web application deployment descriptor describes a lot more about a web application. The web application deployment descriptor is written using the Extensible Markup Language (XML) syntax. The web application deployment descriptor is named web.xml. The contents of this file direct a deployment tool to deploy a module or application with the specified security settings, and describes other specific configuration requirements and/or container options. read less
Comments

Industrial Training,Workshop on Latest Technology,

Deployment Descriptor is a XML document with .xml extension. It basically describes 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...
read more
Deployment Descriptor is a XML document with .xml extension. It basically describes 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. read less
Comments

Teaching the Student to Answer Why not What

Deployment Descriptor contains information about your ear or war which is read by your server and behave the same way told in deployment descriptor.
Comments

Salesforce Trainer

describes how a component, module or application should be deployed. A web application’s deployment descriptor describes the classes, resources and configuration of the application and how the web server uses them to serve web requests. When the web server receives a request for the application, it uses...
read more
describes how a component, module or application should be deployed. A web application’s deployment descriptor describes the classes, resources and configuration of the application and how the web server uses them to serve web requests. When the web server receives a request for the application, it uses the deployment descriptor to map the URL of the request to the code that ought to handle the request. read less
Comments

View 67 more Answers

Related Questions

What is the difference between abstraction and encapsulation?
Encapsulation is wrapping, just hiding properties and methods. Encapsulation is used for hide the code and data in a single unit to protect the data from the outside the world. Class is the best example...
Neval
Is it good to go for a Java coaching center and learn Java (with advanced Java) to improve my programming skills?
yes, Please check the Institute reviews and discuss with the tutor, what topics were covered in class. Ask about the practicals session and how many hours/duration of the course.
Gerda
0 0
5
What is JavaBean?
A JavaBean is just a standard All properties private (use getters/setters) A public no-argument constructor Implements Serializable. That's it. It's just a convention. Lots of libraries...
Ankit
0 0
6
Which holds the future: Java or Python?
The future success of Java or Python depends on various factors, including industry trends, project requirements, and developer preferences. Both languages are widely used, with Java being prominent in...
Nikhil
0 0
5

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Design Pattern
Prototype Design Pattern: Ø Prototype pattern refers to creating duplicate object while keeping performance in mind. Ø This pattern involves implementing a prototype interface which tells...

Comparable vs Comparator
java.lang.Comparable java.util.Comparator For comparing some other object with its own object. Ex. I am comparing myself to some other employee. Method signature is: int compareTo (T object). For...

Tips of learning Java Language/Other Programming Languages
1.You should know the basic concept: If we talk about programming languages so basic concept are same in all the high level languages. So you should know the basic concept firstly then you can easily understand...
I

Icreative Solution

0 0
0

Constructor in Java
A constructor is a particular type of method that is used to initialise the object. The constructor is invoked at the time of object creation. It constructs the values, i.e. provides data for the object...

Java: A Quick Overview
Not purely Object Oriented: It doesn't support multiple inheritence, it supports primitive data types and static members. Doesn’t support multiple inheritance: Reason is diamond problem i.e.,...

Recommended Articles

Java is the most commonly used popular programming language for the creation of web applications and platform today. Integrated Cloud Applications and Platform Services Oracle says, “Java developers worldwide has over 9 million and runs approximately 3 billion mobile phones”.  Right from its first implication as java 1.0...

Read full article >

Designed in a flexible and user-friendly demeanor, Java is the most commonly used programming language for the creation of web applications and platform. It allows developers to “write once, run anywhere” (WORA). It is general-purpose, a high-level programming language developed by Sun Microsystem. Initially known as an...

Read full article >

Java is the most famous programming language till date. 20 years is a big time for any programming language to survive and gain strength. Java has been proved to be one of the most reliable programming languages for networked computers. source:techcentral.com Java was developed to pertain over the Internet. Over...

Read full article >

In the domain of Information Technology, there is always a lot to learn and implement. However, some technologies have a relatively higher demand than the rest of the others. So here are some popular IT courses for the present and upcoming future: Cloud Computing Cloud Computing is a computing technique which is used...

Read full article >

Looking for Java Training Classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you