单选题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 yo

题目
单选题
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 the top-level directory, repackage the WAR, and place that WAR file in your webapp’s WEB-INF directory.


相似考题

3.Your company has an Active Directory forest. The company has servers that run Windows Server 2008 amd client computers that run Windows Vista. The domain uses a set of GPO administrative templates that have been approved to support regulatory compliance requirements. Your partner company has an Active Directory forest that contains a single domain, The company has servers that run Windows Server 2008 and client computers that run Windows Vista. You need to configure your partner company’s domain to use the approved set of administrative templates. What should you do()A、Use the Group Policy Management Console (GPMC) utility to back up the GPO to a file. In each site, import the GPO to the default domain policy.B、Copy the ADMX files from your company’s PDC emulator to the PolicyDefinitions folder on the partner company’s PDC emulatorC、Copy the ADML files from your company’s PDC emulator to the PolicyDefinitions folder on the partner company’s PDC emulatorD、Download the conf.adm, system.adm, wuau.adm, and inetres.adm files from the Microsoft Updates Web site. Copy the ADM files to the PolicyDefinitions folder on thr partner company’s emulator.

参考答案和解析
正确答案: A
解析: 暂无解析
更多“单选题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 yo”相关问题
  • 第1题:

    A web application contains a tag file called beta.tag in /WEB-INF/tags/alpha. A JSP page called sort.jspexists in the web application and contains only this JSP code: 1.<%@ taglib prefix="x" 2.tagdir="/WEB-INF/tags/alpha" %> 3. The sort.jsp page is requested. Which two are true?()

    • A、Tag files can only be accessed using a tagdir attribute.
    • B、The sort.jsp page translates successfully and invokes the tag defined by beta.tag.
    • C、The sort.jsp page produces a translation error because a taglib directive must always have a uriattribute.
    • D、Tag files can only be placed in /WEB-INF/tags, and NOT in any subdirectories of /WEB- INF/tags.
    • E、The tagdir attribute in line 2 can be replaced by a uri attribute if a TLD referring to beta.tag is createdand added to the web application.

    正确答案:B,E

  • 第2题:

    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

  • 第3题:

    Your network contains a Windows Server 2008 server that has the Web Server (IIS) server role installed.  You have a Web application that uses a custom application pool. The application pool is set to recycle every 1,440 minutes. The Web application does not support multiple worker processes.  You need to configure the application pool to ensure that users can access the Web application after the application pool is recycled. What should you do?()

    • A、Set the Shutdown Executable option to True.
    • B、Set the Process Orphaning Enabled option to True.
    • C、Set the Disable Overlapped Recycling option to True.
    • D、Set the Disable Recycling for Configuration Changes option to True.

    正确答案:C

  • 第4题:

    You develop a Web application. Your application contains two settings in the Web.config file. You deploy your application to production. You need to modify the application settings in the production environment without manually editing the XML markup in the Web.config file. What should you do? ()

    • A、Modify the application settings by using the Web Site Administration Tool.
    • B、Modify the application settings by using the Visual Studio property page editor for the project.
    • C、Modify the application settings by using the resource editor.
    • D、Modify the application settings by using the Visual Studio start options editor.

    正确答案:A

  • 第5题:

    Your company has an Active Directory forest. The company has servers that run Windows Server  2008 R2 and client computers that run Windows 7. The domain uses a set of GPO administrative  templates that have been approved to support regulatory compliance requirements.     Your partner company has an Active Directory forest that contains a single domain. The company  has servers that run Windows Server 2008 R2 and client computers that run Windows 7.     You need to configure your partner company’s domain to use the approved set of administrative  templates.   What should you do()

    • A、Use the Group Policy Management Console (GPMC) utility to back up the GPO to a file. In each site, import the GP
    • B、Copy the ADMX files from your company’s PDC emulator to the PolicyDefinitions folder on the partner company’s P
    • C、Copy the ADML files from your company’s PDC emulator to the PolicyDefinitions folder on the partner company’s P
    • D、Download the conf.adm, system.adm, wuau.adm, and inetres.adm files from the Microsoft Updates Web site. Copy

    正确答案:B

  • 第6题:

    多选题
    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


    正确答案: D,C
    解析: 暂无解析

  • 第7题:

    多选题
    A web application contains a tag file called beta.tag in /WEB-INF/tags/alpha. A JSP page called sort.jspexists in the web application and contains only this JSP code: 1. 3. The sort.jsp page is requested. Which two are true?()
    A

    Tag files can only be accessed using a tagdir attribute.

    B

    The sort.jsp page translates successfully and invokes the tag defined by beta.tag.

    C

    The sort.jsp page produces a translation error because a taglib directive must always have a uriattribute.

    D

    Tag files can only be placed in /WEB-INF/tags, and NOT in any subdirectories of /WEB- INF/tags.

    E

    The tagdir attribute in line 2 can be replaced by a uri attribute if a TLD referring to beta.tag is createdand added to the web application.


    正确答案: A,B
    解析: 暂无解析

  • 第8题:

    多选题
    You want to create a valid directory structure for your Java EE web application, and you want to put yourweb application into a WAR file called MyApp.war. Which two are true about the WAR file?()
    A

    At deploy time, Java EE containers add a directory called META-INF directly into the MyApp directory.

    B

    At deploy time, Java EE containers add a file called MANIFEST.MF directly into the MyApp directory.

    C

    It can instruct your Java EE container to verify, at deploy time, whether you have properly configured your application’s classes.

    D

    At deploy time, Java EE containers add a directory call META-WAR directly into the MyApp directory.


    正确答案: A,C
    解析: 暂无解析

  • 第9题:

    单选题
    You create an unattended installation file named unattend.txt. You plan to use an answer file to perform an automated installation of Windows XP Professional. You need to ensure that a line-of-business application is installed automatically after the installation of Windows XP Professional is complete. What should you do?()
    A

    Add a [GuiUnattend] section to unattend.txt.

    B

    Include a [GuiRunOnce] section in unattend.txt.

    C

    Create an unattend.bat file. Place the file in the root of the installation source files.

    D

    Create a registry file named setup.reg. Place the file in the root of the installation source files.


    正确答案: A
    解析: 暂无解析

  • 第10题:

    单选题
    You work as an application developer at Certkiller .com. You are required to dynamically load assemblies into an application domain. You are using the Load method of the AppDomain class. What types of files can you this use method for?()
    A

     Library application files (.dll).

    B

     All assembly files, no matter what there file extensions are.

    C

     Application configuration files (.config).

    D

     Standalone application files (.exe).


    正确答案: B
    解析: 暂无解析

  • 第11题:

    单选题
    Your company has an Active Directory forest. The company has servers that run Windows Server  2008 R2 and client computers that run Windows 7. The domain uses a set of GPO administrative  templates that have been approved to support regulatory compliance requirements.     Your partner company has an Active Directory forest that contains a single domain. The company  has servers that run Windows Server 2008 R2 and client computers that run Windows 7.     You need to configure your partner company’s domain to use the approved set of administrative  templates.   What should you do()
    A

    Use the Group Policy Management Console (GPMC) utility to back up the GPO to a file. In each site, import the GP

    B

    Copy the ADMX files from your company’s PDC emulator to the PolicyDefinitions folder on the partner company’s P

    C

    Copy the ADML files from your company’s PDC emulator to the PolicyDefinitions folder on the partner company’s P

    D

    Download the conf.adm, system.adm, wuau.adm, and inetres.adm files from the Microsoft Updates Web site. Copy


    正确答案: B
    解析: 暂无解析

  • 第12题:

    单选题
    Your company has a network that has 100 servers. You install a new server that runs Windows Server 2008. The server has the Web Server (IIS) server role installed.After a week, you discover that the Reliability Monitor has no data, and that the Systems Stability chart has never been updated.You need to configure the server to collect the Reliability Monitor data. What should you do?()
    A

    Run the perfmon.exe /sys command on the server.

    B

    Configure the Task Scheduler service to start automatically.

    C

    Configure the Remote Registry service to start automatically.

    D

    Configure the Secondary Logon service to start automatically.


    正确答案: A
    解析: 暂无解析

  • 第13题:

    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

  • 第14题:

    You want to create a valid directory structure for your Java EE web application, and you want to put yourweb application into a WAR file called MyApp.war. Which two are true about the WAR file?()

    • A、At deploy time, Java EE containers add a directory called META-INF directly into the MyApp directory.
    • B、At deploy time, Java EE containers add a file called MANIFEST.MF directly into the MyApp directory.
    • C、It can instruct your Java EE container to verify, at deploy time, whether you have properly configured your application’s classes.
    • D、At deploy time, Java EE containers add a directory call META-WAR directly into the MyApp directory.

    正确答案:A,C

  • 第15题:

    You work as an application developer at Certkiller .com. You are required to dynamically load assemblies into an application domain. You are using the Load method of the AppDomain class. What types of files can you this use method for?()

    • A、 Library application files (.dll).
    • B、 All assembly files, no matter what there file extensions are.
    • C、 Application configuration files (.config).
    • D、 Standalone application files (.exe).

    正确答案:B

  • 第16题:

    You create an unattended installation file named unattend.txt. You plan to use an answer file to perform an automated installation of Windows XP Professional. You need to ensure that a line-of-business application is installed automatically after the installation of Windows XP Professional is complete. What should you do?() 

    • A、Add a [GuiUnattend] section to unattend.txt.
    • B、Include a [GuiRunOnce] section in unattend.txt.
    • C、Create an unattend.bat file. Place the file in the root of the installation source files.
    • D、Create a registry file named setup.reg. Place the file in the root of the installation source files.

    正确答案:B

  • 第17题:

    You are developing and XBAP application for your company intranet. During several development iterations, you manually executable, application, and deployement manifest to the test Web Server. You create an HTML file that has a manifest that you use for testing. During the next iteration, you enchance the XBAP application by making changes. When you use the hyperlink to the deployment manifest to test the deployment, you do not see the changes. You need to ensure that the changes you make are visible when you test the deployment from your machine. What should you do ?()

    • A、 Restart Microsoft Internet Information Services (IIS). Then click the Install hyperlink again.
    • B、 Open Visual Studio command prompt and run mage -cc. Then click the Install hyperlink again.
    • C、 Delete the application, deployment, and executable files from Web Server. Then rebuild the XBAP solution files from the project bin directory to the Web Server and click the Install hyperlink again
    • D、 Delete the application, deployment, and executable files from Web Server. Then recopy the same files to the Web Server, restart IIS and click the Install hyperlink again

    正确答案:C

  • 第18题:

    单选题
    Your company has an Active Directory forest. The company has servers that run Windows Server 2008 amd client computers that run Windows Vista. The domain uses a set of GPO administrative templates that have been approved to support regulatory compliance requirements. Your partner company has an Active Directory forest that contains a single domain, The company has servers that run Windows Server 2008 and client computers that run Windows Vista. You need to configure your partner company’s domain to use the approved set of administrative templates. What should you do()
    A

    Use the Group Policy Management Console (GPMC) utility to back up the GPO to a file. In each site, import the GPO to the default domain policy.

    B

    Copy the ADMX files from your company’s PDC emulator to the PolicyDefinitions folder on the partner company’s PDC emulator

    C

    Copy the ADML files from your company’s PDC emulator to the PolicyDefinitions folder on the partner company’s PDC emulator

    D

    Download the conf.adm, system.adm, wuau.adm, and inetres.adm files from the Microsoft Updates Web site. Copy the ADM files to the PolicyDefinitions folder on thr partner company’s emulator.


    正确答案: A
    解析: 暂无解析

  • 第19题:

    单选题
    Your network contains a Windows Server 2008 server that has the Web Server (IIS) server role installed.  You have a Web application that uses a custom application pool. The application pool is set to recycle every 1,440 minutes. The Web application does not support multiple worker processes.  You need to configure the application pool to ensure that users can access the Web application after the application pool is recycled. What should you do?()
    A

    Set the Shutdown Executable option to True.

    B

    Set the Process Orphaning Enabled option to True.

    C

    Set the Disable Overlapped Recycling option to True.

    D

    Set the Disable Recycling for Configuration Changes option to True.


    正确答案: A
    解析: 暂无解析

  • 第20题:

    单选题
    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 the top-level directory, repackage the WAR, and place that WAR file in your webapp’s WEB-INF directory.


    正确答案: A
    解析: 暂无解析

  • 第21题:

    多选题
    Which the two are true regarding a web application class loader?()
    A

    A web application may override the web container’s implementation classes

    B

    A web application running in a J2EE product may override classes in the javax.* namespace

    C

    A web application class loader may NOT override any classes in the java.* and javax.*  namespace

    D

    Resources in the WAR class directory or in any of the JAR files within the library directory may  be accessed using the J2SE semantics of getResource

    E

    Resources in the WAR class directory or in any of the JAR files within the library directory  cannot be accessed using the J2SE semantics of getResource


    正确答案: E,B
    解析: 暂无解析

  • 第22题:

    单选题
    You develop a Web application. Your application contains two settings in the Web.config file. You deploy your application to production. You need to modify the application settings in the production environment without manually editing the XML markup in the Web.config file. What should you do?()
    A

     Modify the application settings by using the Web Site Administration Tool.

    B

     Modify the application settings by using the Visual Studio property page editor for the project.

    C

     Modify the application settings by using the resource editor.

    D

     Modify the application settings by using the Visual Studio start options editor.


    正确答案: B
    解析: 暂无解析

  • 第23题:

    单选题
    You are developing and XBAP application for your company intranet. During several development iterations, you manually executable, application, and deployement manifest to the test Web Server. You create an HTML file that has a manifest that you use for testing. During the next iteration, you enchance the XBAP application by making changes. When you use the hyperlink to the deployment manifest to test the deployment, you do not see the changes. You need to ensure that the changes you make are visible when you test the deployment from your machine. What should you do ?()
    A

     Restart Microsoft Internet Information Services (IIS). Then click the Install hyperlink again.

    B

     Open Visual Studio command prompt and run mage -cc. Then click the Install hyperlink again.

    C

     Delete the application, deployment, and executable files from Web Server. Then rebuild the XBAP solution files from the project bin directory to the Web Server and click the Install hyperlink again

    D

     Delete the application, deployment, and executable files from Web Server. Then recopy the same files to the Web Server, restart IIS and click the Install hyperlink again


    正确答案: D
    解析: 暂无解析

  • 第24题:

    单选题
    You are migrating a solution to Windows Azure.   The solution includes a web application and a business logic layer.  The web application runs on three dual-core servers.  The business logic layer runs on two quad-core servers.   The Windows Azure application must match or exceed the current hardware specifications.  You need to recommend role instance sizes that minimize cost.  What should you recommend?()
    A

     Small for the web application and Medium for the business logic layer

    B

     Small for the web application and Large for the business logic layer

    C

     Medium for the web application and Large for the business logic layer

    D

     Large for the web application and Extra Large for the business logic layer


    正确答案: A
    解析: 暂无解析