多选题What are the two proper locations of deployment descriptors files inside of archives deployed to WebLogic?()Athe WEB-INF subdirectory for a WAR fileBthe META-INF subdirectory for an EAR file, or EJB-JARCthe DD-INF subdirectoryDthe root of archiveEany s

题目
多选题
What are the two proper locations of deployment descriptors files inside of archives deployed to WebLogic?()
A

the WEB-INF subdirectory for a WAR file

B

the META-INF subdirectory for an EAR file, or EJB-JAR

C

the DD-INF subdirectory

D

the root of archive

E

any searchable location

参考答案和解析
正确答案: C,A
解析: 暂无解析
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

You are developing several tag libraries that will be sold for development of third-party web applications.You are about to publish the first three libraries as JAR files: container-tags.jar,advanced-html-form-tags.jar, and basic-html-form-tags.jar. Which two techniques are appropriate for packaging the TLD files forthese tag libraries?()

  • A、The TLD must be located within the WEB-INF directory of the JAR file.
  • B、The TLD must be located within the META-INF directory of the JAR file.
  • C、The TLD must be located within the META-INF/tld/ directory of the JAR file.
  • D、The TLD must be located within a subdirectory of WEB-INF directory of the JAR file.
  • E、The TLD must be located within a subdirectory of META-INF directory of the JAR file.

正确答案:B,E

第2题:

After a merger with another small business, your company has inherited a legacy WAR file but the originalsource files were lost. After reading the documentation of that web application,you discover that the WARfile contains a useful tag library that you want to reuse in your own webapp packaged as a WAR file. What do you need to do to reuse this tag library?()

  • A、Simply rename the legacy WAR file as a JAR file and place it in your webapp’s library directory.
  • B、Unpack the legacy WAR file, move the TLD file to the META-INF directory, repackage the whole thingas a JAR file, and place that JAR file in your webapp’s library directory.
  • C、Unpack the legacy WAR file, move the TLD file to the META-INF directory, move the class files to thetop-level directory, repackage the whole thing as a JAR file, and place that JAR file in your webapp’slibrary directory.
  • D、Unpack the legacy WAR file, move the TLD file to the META-INF directory, move the class files to thetop-level directory, repackage the WAR, and place that WAR file in your webapp’s WEB-INF directory.

正确答案:C

第3题:

Which two actions protect a resource file from direct HTTP access within a web application?()

  • A、Placing it in the /secure directory
  • B、Placing it in the /WEB-INF directory
  • C、Placing it in the /META-INF/secure directory
  • D、Creating a  element within the deployment descriptor

正确答案:B,C

第4题:

In which two locations can library dependencies be defined for a web application? ()

  • A、 the web application deployment descriptor
  • B、 the /META-INF/dependencies.xml file
  • C、 the /META-INF/MANIFEST.MF manifest file
  • D、 the /META-INF/MANIFEST.MF manifest of a JAR in the web application classpath

正确答案:C,D

第5题:

In which two web application directories can dependent classes and libraries be located? ()

  • A、 /WEB-INF/lib as a JAR file
  • B、 /META-INF/lib as a JAR file
  • C、 /classes as compiled class files
  • D、 /WEB-INF/lib as compiled class files
  • E、 /WEB-INF/classes as compiled class files
  • F、 /META-INF/classes as compiled class files

正确答案:A,E

第6题:

Which path, relative to a web application’s root, identifies the web application’s deployment descriptor?()

  • A、 /conf/web.xml
  • B、 /WEB-INF/web.xml
  • C、 /conf/server.xml
  • D、 /META-INF/web.xml
  • E、 /WEB-INF/rules.xml
  • F、 /META-INF/server. Xml

正确答案:B

第7题:

In which three directories, relative to a web application’s root, may a tag library descriptor file reside when deployed directly into a web application?()

  • A、 /WEB-INF
  • B、 /META-INF
  • C、 /WEB-INF/tlds
  • D、 /META-INF/tlds
  • E、 WEB-INF/resources
  • F、 /META-INF/resources

正确答案:A,C,E

第8题:

In which three directories, relative to a web application’s root, may a tag library descriptor file reside whendeployed directly into a web application?()

  • A、/WEB-INF
  • B、/META-INF
  • C、/WEB-INF/tlds
  • D、/META-INF/tlds
  • E、/WEB-INF/resources
  • F、/META-INF/resources

正确答案:A,C,E

第9题:

Which the two about WAR files are true?()

  • A、 WAR files must be located in the web application library directory.
  • B、 WAR files must contain the web application deployment descriptor.
  • C、 WAR files must be created by using archive tools to designed specifically for that purpose. 
  • D、 The web container must serve the content of any META-INF directory located in a WAR file.
  • E、 The web container must allow access to resources in JARs in the web application library directory

正确答案:B,E

第10题:

Which path is required to be present within a WAR file?()  

  • A、 /classes
  • B、 /index.html
  • C、 /MANIFEST-INF
  • D、 /WEB-INF/web.xml
  • E、 /WEB-INF/classes
  • F、 /WEB-INF/index.html
  • G、 /META-INF/index.xml

正确答案:E

更多相关问题