单选题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
单选题
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 Object
B
Service Locator
C
Intercepting Filter
D
Business Delegate
参考解析
解析:
暂无解析
相关考题:
One of your project team members has made a technological breakthrough on an R D project. The result will be new business for the company, as well as a company patent. The team member received a company bonus. The motivational strategy used here is:A Job enrichmentB Linking pay and performanceC Behavior. modificationD Freedom in the work placeE All of the above
2 Helen Bradshaw, a recent graduate with a degree in catering management, has spotted a market opportunity duringher first job with a large supermarket chain. She knows there is a growing market for distinctive, quality cakes in thebakery sections of the supermarket chains, as well as in supplying independent individual premium cake shops, andalso for catering wholesalers supplying restaurants and hotels.Helen is very determined to set up her own business under the brand name of ‘Helen’s cakes’, and has bought someequipment – industrial food mixers, ovens, cake moulds – and also rented a small industrial unit to make the cakes.Helen has created three sets of recipes – one for the premium cake shop market, one for the supermarkets and onefor the catering wholesalers but is uncertain which market to enter first. Each channel of distribution offers a differentset of challenges. The premium cake shop market consists of a large number of independent cake shops spreadthrough the region, each looking for daily deliveries, a wide product range and low volumes. The supermarkets aredemanding good quality, competitive prices and early development of a product range under their own brand name.The catering wholesalers require large volumes, medium quality and low prices.Helen has learnt that you are a consultant specialising in start-up enterprises and is looking to you for advice.Required:(a) Acting as a consultant, prepare a short report for Helen advising her on the advantages and disadvantageseach channel offers and the implications for a successful start-up. (12 marks)
3 Mark Howe, Managing Director of Auto Direct, is a victim of his own success. Mark has created an innovative wayof selling cars to the public which takes advantage of the greater freedom given to independent car distributors tomarket cars more aggressively within the European Union. This reduces the traditional control and interference of theautomobile manufacturers, some of whom own their distributors. He has opened a number of showrooms in theLondon region and by 2004 Auto Direct had 20 outlets in and around London. The concept is deceptively simple;Mark buys cars from wherever he can source them most cheaply and has access to all of the leading volume carmodels. He then concentrates on selling the cars to the public, leaving servicing and repair work to other specialistgarages. He offers a classic high volume/low margin business model.Mark now wants to develop this business model onto a national and eventually an international basis. His immediateplans are to grow the number of outlets by 50% each year for the next three years. Such growth will placeconsiderable strain on the existing organisation and staff. Each showroom has its own management team, salespersonnel and administration. Currently the 20 showrooms are grouped into a Northern and Southern Sales Divisionwith a small head office team for each division. Auto Direct now employs 250 people.Mark now needs to communicate the next three-year phase of the company’s ambitious growth plans to staff and isanxious to get an understanding of staff attitudes towards the company and its growth plans. He is aware that youare a consultant used to advising firms on the changes associated with rapid growth and the way to generate positivestaff attitudes to change.Required:(a) Using appropriate strategies for managing change provide Mark with a brief report on how he can best createa positive staff response to the proposed growth plans. (12 marks)
Dr. Wilson didn’t want to go on ____ a teacher of biology, so he changed his job and became a consultant for a farm.A. beB. beingC. to beD. with being
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?()A、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. B、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. C、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. D、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.
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
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?()A、Transfer ObjectB、Front ControllerC、Service LocatorD、Intercepting FilterE、Business DelegateF、Model-View-Controller
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?()A、% if ( request.isUserInRole("SalesManager") ) { % %@ include file=’/WEB-INF/html/sales-mgr-menu.html’ % % } %B、jsp:if test=’request.isUserInRole("SalesManager")’ %@ include file=’/WEB-INF/html/sales-mgr-menu.html’ % /jsp:ifC、% if ( request.isUserInRole("SalesManager") ) { % . jsp:include file=’/WEB-INF/html/sales-mgr-menu.html’ / . % } %D、jsp:if test=’request.isUserInRole("SalesManager")’ jsp:include file=’/WEB-INF/html/sales-mgr-menu.html’ / /jsp:if
Given the JSP code: 10. 11. 12. 13.Hello, ${customer.title} ${customer.lastName}, welcome 14.to Squeaky Beans, Inc. 15.16. Which three types of JSP code are used?()A、Java codeB、Template textC、Scripting codeD、Standard actionE、Expression language
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?()A、Transfer ObjectB、Service LocatorC、Intercepting FilterD、Business Delegate
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? ()A、 ProxyB、 View HelperC、 Front ControllerD、 Session FaçadeE、 Business DelegateF、 Model-View-Controller
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? ()A、Set Page.MasterPageFile in the Page's Page_Init event.B、Set Page.MasterPageFile in the Page's OnInit event.C、Set Page.MasterPageFile in the Page's Page_Load event.D、Set Page.MasterPageFile in the Page's Page_PreInit event.
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?()A、In the Web.config file of the application,set the Theme attribute of the pages element to the name of the theme.B、In the Web.config file of the application,set the StyleSheetThemeattribute of the pages element to the name of the theme.C、Add a master page to the application. In the @Master directive,set the Theme attribute to the name of the theme.D、Add a master page to the application. In the @Master directive,set the StyleSheetTheme attribute to the name of the theme.
单选题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?()AThe 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. BThe 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. CThe 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. DThe 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.
单选题I find ().Ait is difficult for them to finish the job in timeBdifficult for them to finish the job in timeCthey have much difficulty to finish the job in timeDthat difficult for them to finish the job in time
单选题A brand of cough syrup comes with a measuring cup attached so that customers can measure the proper dosage. A consultant has pointed out that this cup is unnecessary, since most customers have measuring cups at home. Since the cups increase the cost of packaging the cough syrup and reduce the total number of units that can be shipped in a standard package, the consultant advises that the company can increase its net revenue on this product (total revenue minus total costs) by selling the cough syrup without the measuring cups. Which of the following, if true, provides the strongest evidence that the company should not follow the consultant’s advice?AStudies 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.BThe company has included a measuring cup with each bottle of cough syrup for the last 18 years.CStudies have shown that 85 percent of consumers possess at home either a measuring cup, a set of measuring spoons or both.DMany customers neglect to follow the recommended dosage of cough syrup even when the measuring cup is packaged along with the bottle of cough syrup.EShipping 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.
多选题Given the JSP code: 10. 11. 12. 13.Hello, ${customer.title} ${customer.lastName}, welcome 14.to Squeaky Beans, Inc. 15.16. Which three types of JSP code are used?()AJava codeBTemplate textCScripting codeDStandard actionEExpression language
单选题You are creating a SQL Server 2005 database for a mortgage company. The database will support a new Web-based application that will handle up to 1,000 simultaneous users. This application must quickly display the results of calculation-intensive operations, such as calculating mortgage payments and amortization schedules. You need to ensure that the database processes calculations as quickly and efficiently as possible. What should you do?()A Implement parameterized Transact-SQL queries in the application. B Implement Transact-SQL stored procedures in the database. C Implement CLR stored procedures in the database. D Implement distributed Web services.
单选题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?()ASetPage.MasterPageFile in the Page’sPage_Initevent.BSetPage.MasterPageFile in the Page’sOnInit event.CSetPage.MasterPageFile in the Page’sPage_Loadevent.DSetPage.MasterPageFile in the Page’sPage_PreInitevent.
单选题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?()ATransfer ObjectBFront ControllerCService LocatorDIntercepting FilterEBusiness DelegateFModel-View-Controller
单选题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?()A% if ( request.isUserInRole(SalesManager) ) { % %@ include file=’/WEB-INF/html/sales-mgr-menu.html’ % % } %Bjsp:if test=’request.isUserInRole(SalesManager)’ %@ include file=’/WEB-INF/html/sales-mgr-menu.html’ % /jsp:ifC% if ( request.isUserInRole(SalesManager) ) { % . jsp:include file=’/WEB-INF/html/sales-mgr-menu.html’ / . % } %Djsp:if test=’request.isUserInRole(SalesManager)’ jsp:include file=’/WEB-INF/html/sales-mgr-menu.html’ / /jsp:if
多选题Given the JSP code: 10. 11. 12. 13.Hello, ${customer.title} ${customer.lastName}, welcome 14.to Squeaky Beans, Inc. 15.16. Which three types of JSP code are used?()AJava codeBTemplate textCScripting codeDStandard actionEExpression language
单选题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? ()ASet Page.MasterPageFile in the Page's Page_Init event.BSet Page.MasterPageFile in the Page's OnInit override.CSet Page.MasterPageFile in the Page's Page_Load event.DSet Page.MasterPageFile in the Page's Page_PreInit event.
单选题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
单选题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?()ATransfer ObjectBService LocatorCIntercepting FilterDBusiness Delegate
单选题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?()AIn the Web.config file of the application,set the Theme attribute of the pages element to the name of the theme.BIn the Web.config file of the application,set the StyleSheetThemeattribute of the pages element to the name of the theme.CAdd a master page to the application. In the @Master directive,set the Theme attribute to the name of the theme.DAdd a master page to the application. In the @Master directive,set the StyleSheetTheme attribute to the name of the theme.
单选题You are the network administrator for All network servers run Windows Server 2003. A member server named TK1 hosts several hundred folders, which are located on multiple volumes on the server. A backup job on TK1 is configured to run a normal backup of the folders every Saturday at 1:00 A.M. On Wednesday morning, you discover that you need to install a new application on TK1 before the close of business that day. You need to back up all folders on TK1 as quickly as possible so you can install the new application. What should you do?()ACreate a new backup job that specifies the folders and runs once only.BRun the existing backup job.CEnable Volume Shadow Copy for the volumes that contain the folders.DCreate an Automated System Recovery (ASR) set.