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

Anybody knows converting jsf primeface into css bootstrap?
We can use some bootstrap CSS classes and helpers but if we want give style to each UI control, we will need to set the primefaces theme to none. context-param param-name primefaces.THEME /param-name...
Pradeep
0 0
8
What is Service Locator in java?
The Service Locator abstracts the API lookup (naming) services, vendor dependencies, lookup complexities, and business object creation. Provides a simple interface to clients. This reduces the client's...
Arunava Chatterjee
What are the advance features in java 1.8 when compare to java 1.6?
Many are there. 1. Lambda expression (functional Programming). 2. Default methods in interfaces.
Naresh N
While teaching IT Student (MCA / BCA / BTech), I found most of the students are not having good programming skills but they are still running behind to learn .NET / PHP / PYTHON / ANDROID / JAVA. Why is it so? What we should do better to improve a sound programming skills among most of IT Students?
on college days they r learning c,c++ and following faculties are also giving a road map of "programming means" thease languages only , even these are the languages are familier , where you justify them...
Amit Kumar

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

Ask a Question

Related Lessons

Java exception handling in real time examples eavry application how we are interacting with exceptions
Exception Handling:====================For example, gmail account, we need emaid and passwrd if we entered correct account will be opened succusfuly if enterd wrong email or passwrd it shows error message...

Programing Languages Learning Tricks
You want to learn that new language or library or framework as soon as possible, right? That’s understandable. Fortunately, there are a handful of tips that can help you to better retain all of that...
H

Harshal G.

0 0
0

Priority in TestNG
public class Priority { @Test (priority=1)public void login() {System.out.println("login");} @Testpublic void email1() {System.out.println("email1");} @Test (priority=-2)public void email2() {System.out.println("email2");} //I...
S

Sarthak C.

0 0
0

Finding a Majority Element
Problem Description Task. The goal in this code problem is to check whether an input sequence contains a majority element. Input Format. The first line contains an integer, the next one contains a sequence...

1.3. Find the second largest element in an array.
public class Main { public static void main(String args) { int arr = {1, 3, 4, 6, 5}; int max = Integer.MIN_VALUE, secondMax = Integer.MIN_VALUE; for (int i = 0; i < arr.length; i++) { if (arr >...

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