EJB Deployment descriptor - What is Deployment descriptor?

What is deployment descriptor?

- The deployment descriptor directs a deployment tool to deploy a module or application with specific container options.

- It describes specific configuration requirements that a deployer must resolve.

- XML is used for the syntax of these deployment descriptor files.

- It is a configuration file for an artifact which is deployed to some container/engine.

- It describes how a component, module or application should be deployed.

- The deployment descriptor for the web applications must be called web.xml and should reside in the WEB-INF directory in the web application root.

- The deployment descriptor for the Java EE applications must be named as application.xml and must be placed directly in the META-INF directory at the top level of the application .ear file.

There are two types of deployment descriptors:

1. Java EE deployment descriptors
2. Runtime deployment descriptors
EJB: Is it possible to invoke Runtime.gc() in an EJB?
The call will most likely be ignored. The functions like garbage collection that are system level should be left for the container...
20 J2EE Interview Questions and Answers - Freshers, Experienced
J2EE Interview questions and answers for freshers and experienced, j2ee interview faq - In this section we have listed all those questions and answers that might be asked during J2ME interview.
J2EE application
J2EE application - Explain the components of J2EE architecture, Explain the Java Servlets. Explain its lifecycle, Explain JSP, Describe JSP lifecycle.
Post your comment