单选题Squeaky Beans Inc. hired an outside consultant to develop their web application. To finish the job quickly, the consultant created several dozen JSP pages that directly communicate with the database. The Squeaky business team has since purchased a set of business objects to model their system, and the Squeaky developer charged with maintaining the web application must now refactor all the JSPs to work with the new system. Which pattern can the developer use to solve this problem?()A
Transfer ObjectB
Service LocatorC
Intercepting FilterD
Business Delegate
第1题:
The configuration of a Web Services Security management (WSSM) Partner allows for the specification of XSL mapping rules. What is the input and output of these XSL mapping rules?()
第2题:
The Squeaky Bean company has decided to port their web application to a new J2EE 1.4 container. Whilereviewing the application, a developer realizes that in multiple places within the current application, nearlyduplicate code exists that finds enterprise beans. Which pattern should be used to eliminate this duplicatecode?()
第3题:
Given the JSP code: 10. 11. 12.
第4题:
A Company.com developer has created a web application that includes a servlet for each use case in the application. These servlets have become rather difficult to maintain because the request processing methods have become very large. There is also common processing code in many servlets because these use cases are very similar. Which two design patterns can be used together to refactor and simplify this web application? ()
第5题:
You modify an existing Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. You add a theme to the ASP.NET application. You need to apply the theme to override any settings of individual controls. What should you do?()
第6题:
it is difficult for them to finish the job in time
difficult for them to finish the job in time
they have much difficulty to finish the job in time
that difficult for them to finish the job in time
第7题:
Java code
Template text
Scripting code
Standard action
Expression language
第8题:
SetPage.MasterPageFile in the Page’sPage_Initevent.
SetPage.MasterPageFile in the Page’sOnInit event.
SetPage.MasterPageFile in the Page’sPage_Loadevent.
SetPage.MasterPageFile in the Page’sPage_PreInitevent.
第9题:
<% if ( request.isUserInRole(SalesManager) ) { %> <%@ include file=’/WEB-INF/html/sales-mgr-menu.html’ %> <% } %>
<jsp:if test=’request.isUserInRole(SalesManager)’> <%@ include file=’/WEB-INF/html/sales-mgr-menu.html’ %> </jsp:if>
<% if ( request.isUserInRole(SalesManager) ) { %> . <jsp:include file=’/WEB-INF/html/sales-mgr-menu.html’ /> . <% } %>
<jsp:if test=’request.isUserInRole(SalesManager)’> <jsp:include file=’/WEB-INF/html/sales-mgr-menu.html’ /> </jsp:if>
第10题:
Java code
Template text
Scripting code
Standard action
Expression language
第11题:
Transfer Object
Service Locator
Intercepting Filter
Business Delegate
第12题:
In the Web.config file of the application,set the Theme attribute of the pages element to the name of the theme.
In the Web.config file of the application,set the StyleSheetThemeattribute of the pages element to the name of the theme.
Add a master page to the application. In the @Master directive,set the Theme attribute to the name of the theme.
Add a master page to the application. In the @Master directive,set the StyleSheetTheme attribute to the name of the theme.
第13题:
Squeaky Beans Inc. hired an outside consultant to develop their web application. To finish the job quickly, the consultant created several dozen JSP pages that directly communicate with the database. The Squeaky business team has since purchased a set of business objects to model their system, and the Squeaky developer charged with maintaining the web application must now refactor all the JSPs to work with the new system. Which pattern can the developer use to solve this problem?()
第14题:
You are building JSP pages that have a set of menus that are visible based on a user’s security role. Thesemenus are hand-crafted by your web design team; for example, the SalesManager role has a menu in thefile /WEB-INF/html/sales-mgr-menu.html. Which JSP code snippet should be used to make this menuvisible to the user?()
第15题:
Squeaky Beans Inc. hired an outside consultant to develop their web application. To finish the job quickly,the consultant created several dozen JSP pages that directly communicate with the database. The Squeakybusiness team has since purchased a set of business objects to model their system, and the Squeaky developer charged with maintaining the web application must now refactor all the JSPs to work with the newsystem. Which pattern can the developer use to solve this problem?()
第16题:
You develop a Web application that contains two master pages. You need to dynamically set the master page when a user views pages in the application. What should you do? ()
第17题:
The input to the XSL mapping rules of a WSSM Partner is the binary security token as received on the Web Service request. The output of the mapping rules is a new security token ready for use by the Web Service application.
The input to the XSL mapping rules of a WSSM Partner is an STSUniveralUser XML document created from the security token received on the Web Service request. The output of the mapping rules is an arbitrary collection of attributes that will be made available to the Web Services application.
The input to the XSL mapping rules of a WSSM Partner is an STSUniveralUser XML document created from the security token received on the Web Service request. The output of the mapping rules is a new STSUniversalUser XML document that represents the security token required by the application.
The input to the XSL mapping rules of a WSSM Partner is an STSUniveralUser XML document created from the security token received on the Web Service request. The output of the mapping rules is an IBM Tivoli Access Manager for e-business credential that will be used to authorize the partner's access to the Web Service application.
第18题:
Studies have shown that customers who use cough syrup without a measuring cup frequently take either too little or too much of the medicine, rendering the dosage either ineffective or, in cases of overdose, dangerous.
The company has included a measuring cup with each bottle of cough syrup for the last 18 years.
Studies have shown that 85 percent of consumers possess at home either a measuring cup, a set of measuring spoons or both.
Many customers neglect to follow the recommended dosage of cough syrup even when the measuring cup is packaged along with the bottle of cough syrup.
Shipping the cough syrup bottles without the measuring cups will provide a marginal improvement in the number of cough syrup bottles that can be shipped is a standard package.
第19题:
Implement parameterized Transact-SQL queries in the application.
Implement Transact-SQL stored procedures in the database.
Implement CLR stored procedures in the database.
Implement distributed Web services.
第20题:
Transfer Object
Front Controller
Service Locator
Intercepting Filter
Business Delegate
Model-View-Controller
第21题:
JSP
HTML页面
Servlet
View Beans
第22题:
Set Page.MasterPageFile in the Page's Page_Init event.
Set Page.MasterPageFile in the Page's OnInit override.
Set Page.MasterPageFile in the Page's Page_Load event.
Set Page.MasterPageFile in the Page's Page_PreInit event.
第23题:
Transfer Object
Service Locator
Intercepting Filter
Business Delegate
第24题:
Create a new backup job that specifies the folders and runs once only.
Run the existing backup job.
Enable Volume Shadow Copy for the volumes that contain the folders.
Create an Automated System Recovery (ASR) set.