nerdexam
Oracle

1Z0-599 · Question #78

What are the two proper locations of deployment descriptors files inside of archives deployed to WebLogic?

The correct answer is A. the WEBINF subdirectory for a WAR file B. the METAINF subdirectory for an EAR file, or EJBJAR. The WEBINF directory contains the deployment descriptors for the Web application (web.xml and weblogic.xml) and two subdirectories for storing compiled Java classes and library JAR files. Web Application WEBINF/web.xml ( WEBINF/weblogic.xml ) The WEBINF directory is a vital…

Deploying Applications

Question

What are the two proper locations of deployment descriptors files inside of archives deployed to WebLogic?

Options

  • Athe WEBINF subdirectory for a WAR file
  • Bthe METAINF subdirectory for an EAR file, or EJBJAR
  • Cthe DDINF subdirectory
  • Dthe root of archive
  • Eany searchable location

How the community answered

(65 responses)
  • A
    88% (57)
  • C
    8% (5)
  • D
    3% (2)
  • E
    2% (1)

Explanation

  • The WEBINF directory contains the deployment descriptors for the Web application (web.xml and weblogic.xml) and two subdirectories for storing compiled Java classes and library JAR files. * Web Application WEBINF/web.xml ( WEBINF/weblogic.xml ) The WEBINF directory is a vital component of your web application. Web application wont run without it.It contains a heirarcy in which you'll find the necessary configuration information for your web application, and all the class files for your servlets and classes that are called up by your JSPs. WEBINF folder contains all the class files for your servlets and classes that are called up Enterprise Application METAINF/application.xml (METAINF/weblogicapplication.xml) and META INF/ejbjar.xml ( METAINF/weblogicejbjar.xml ) Generally comprises of EJBs. Bussiness Tier of an application and EJB basically handels the Bussiness logic of application (distributed objects) METAINF/application.xml containes Mappings and security roles etc.whereas METAINF/ejbjar.xml containes ejb classes , session beans mapping etc., The METAINF directory is related to .jar files, It contains the manifest file which has list of jars. A contextroot setting in application.xml takes precedence over contextroot setting in weblogic.xml (The context root of a web application determines which URLs weblogic will delegate to your web * Deployment descriptors are xml documents that describe runtime behaviour for the deployment unit. The XML file contains information such as the context root of the web application and the mapping of the portable names of an application's resources to the application Server's resources

Topics

#deployment descriptors#WEB-INF#META-INF#archive structure

Community Discussion

No community discussion yet for this question.

Full 1Z0-599 Practice