Multiple choice technology architecture

which xml file is been used by Web Container as a deployment descriptor to deploy Web Applications?

  1. ejb-jar.xml

  2. Can be any valid xml containing Web Module name

  3. web.xml

  4. config.xml

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The web.xml file is the standard deployment descriptor for Java web applications. It contains configuration information such as servlet mappings, filter definitions, welcome file lists, context parameters, security constraints, and other application settings. The web container reads web.xml during application deployment to configure the application.