What is Deployment Descriptor?

By: Karthik  

Answer: 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.

Most Viewed Articles (in Interview )

What is Collection API?

Question: What is a Hidden Comment in JSP?

Question: Explain the life-cycle methods in JSP?

Question: Difference between forward and sendRedirect in JSP?

Interview Question: What is the difference between Message Driven Beans and Stateless Session beans?

What are the services provided by a container?

What is difference between Java Bean and Enterprise Java Bean?

What are the call back methods in Session bean?

What do you understand by Synchronization?

Explain the new Features of JDBC 2.0 Core API?

Interview Question: What about JSTL and JavaServer Faces ?

What is the difference between jsp:include page and @ include file?

Interview Question: How is the MVC design pattern used in Struts framework?

Interview Question: Who makes the Struts?

What types of comments are available in the JSP?

Latest Articles (in Interview)

Comment on this tutorial