Results 1 to 11 of 11

What is deployment descriptor?

This is a discussion on What is deployment descriptor? within the Programming forums, part of the Web Designing & Development category; Each J2EE application and its module consist of deployment descriptor. Since the deployment descriptor is declarative it can be changed ...

  1. #1
    Senior Member chinmay.sahoo's Avatar
    Join Date
    Dec 2013
    Location
    Banglore
    Posts
    266

    Thumbs up What is deployment descriptor?

    Each J2EE application and its module consist of deployment descriptor. Since the deployment descriptor is declarative it can be changed without any change in the source code

  2. #2
    Senior Member
    Join Date
    Jan 2012
    Posts
    1,884

    Default Re: What is deployment descriptor?

    A deployment descriptor (DD) refers to a configuration file for an artifact that is deployed to some container/engine. In the Java Platform, Enterprise Edition, a deployment descriptor describes how a component, module or application (such as a web application or enterprise application) should be deployed.

  3. #3
    Member
    Join Date
    Dec 2015
    Location
    Guangzhou,China,51000
    Posts
    85

    Default Re: What is deployment descriptor?

    The web application deployment descriptor file does pretty much what it's name says it does: it describes how the web application should be deployed.

  4. #4
    Member
    Join Date
    Sep 2016
    Posts
    46

    Default Re: What is deployment descriptor?

    A deployment descriptor describes how a component, module or application should be deployed.

  5. #5
    Senior Member
    Join Date
    May 2017
    Posts
    477

    Default Re: What is deployment descriptor?

    a deployment descriptor describes how a component, module or application (such as a web application or enterprise application) should be deployed

  6. #6
    Senior Member
    Join Date
    Nov 2016
    Posts
    152

    Default Re: What is deployment descriptor?

    Thanks a lot for the description.

    Quote Originally Posted by Madison View Post
    A deployment descriptor (DD) refers to a configuration file for an artifact that is deployed to some container/engine. In the Java Platform, Enterprise Edition, a deployment descriptor describes how a component, module or application (such as a web application or enterprise application) should be deployed.

  7. #7
    Senior Member Ashley234's Avatar
    Join Date
    May 2017
    Posts
    336

    Default Re: What is deployment descriptor?

    A deployment descriptor (DD) refers to a configuration file for an artifact that is deployed to some container/engine.

  8. #8
    Senior Member
    Join Date
    Oct 2017
    Posts
    119

    Default Re: What is deployment descriptor?

    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.
    The deployment descriptor is a file named web.xml. It resides in the app's WAR under the WEB-INF/ directory. The file is an XML file whose root element is <web-app>.

  9. #9
    Senior Member
    Join Date
    Jun 2017
    Location
    India
    Posts
    307

    Default Re: What is deployment descriptor?

    A deployment descriptor (DD) refers to a configuration file for an artifact that is deployed to some container/engine. In the Java Platform, Enterprise Edition, a deployment descriptor describes how a component, module or application (such as a web application or enterprise application) should be deployed.

  10. #10
    Member
    Join Date
    Jul 2017
    Posts
    63

    Default Re: What is deployment descriptor?

    A deployment descriptor is simply an XML(Extensible Markup Language) file with the extension of .xml. Deployment descriptor describes the component deployment settings. Application servers reads the deployment descriptor to deploy the components contained in the deployment unit. For example ejb-jar.xml file is used to describe the setting of the EJBs.

  11. #11
    Member
    Join Date
    Mar 2018
    Location
    Santa Clara, California, USA
    Posts
    40

    Default Re: What is deployment descriptor?

    A deployment descriptor is a configuration file for a web application or EJB application which is to be deployed to web or EJB container.

Tags for this Thread