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 a complete list of topics of Core Java and topics of Advanced Java?
Certainly! Here's a brief list of topics for both Core Java and Advanced Java: Core Java: Basics of Java Data Types and Variables Control Flow (if, else, switch) Loops (for, while, do-while) Arrays Methods Object-Oriented...
Profile Photo
Archit
0 0
View Comments5
Why Java doesnot have Pointer ?
The reasons are Pointers are fundamentally unsafe. Java has a robust security model and disallows pointer arithmetic.Java ensures pointer access via indexed array. A big advantage of Java's indexed array...
Profile Photo
Satyajit
How many classes are needed to teach advanced Java?
Depends how much practice and concept you catch early. Also depends upon what parts you want to cover. Java is huge
Profile Photo
Kiran
0 0
View Comments8
Is java a frontend or a middleware technology or both?
java is middleware technology.Java is common languages for writing the part that could be viewed as the glue between the UI and the data.
Profile Photo
Neha
0 0
View Comments5

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

Ask a Question

Related Lessons

Java8 Filters and collectors
Lets say we have collection of strings and we would like to filter (remove) out certain strings from collection. We could achive the same in java 7 and earlier versions import java.util.ArrayList; import...
Profile Photo

Why Should We Learn Java Language?
Most of starters has confusion today that which of the programming language should be chosen to work on. It totally depends upon your need. As per my opinion, if you want to grow your career in IT industry...
Profile Photo

Class, Object and Methods in JAVA
Lesson-1: Class, Object and Methods of Java can be compared with body, heart and brain. Without these 3 things, Java does not exist. If you Google the above 3 items, you will find many definitions. But...
Profile Photo

1.2. Find the largest element in an array.
public class Main { public static void main(String args) { int arr = {1, 2, 3, 4, 5}; int max = arr; for (int i = 1; i < arr.length; i++) { if (arr > max) { max = arr; } } System.out.println("Largest Element: " + max); }}
Profile Photo

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