black

SCWCD(310-083)

登录

单项选择题

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 Object
B.Front Controller
C.Service Locator
D.Intercepting Filter
E.Business Delegate
F.Model-View-Controller

相关考题

单项选择题 A developer is designing a web application that must verify for each request: The originating request is froma trusted network. The client has a valid session.The client has been authenticated. Which design pattern provides a solution in this situation?()

单项选择题 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?()

多项选择题 ClicktheExhibitbutton. TheApplianceclassisaSingletonthatloadsasetofpropertiesintoaMapfromanexternaldatasource.Assume: AninstanceoftheApplianceclassexistsintheapplication-scopedattribute,applTheapplianceobject includesthenamepropertythatmapstothevalueCobiaTherequest-scopedattribute,prop,hasthevaluename. WhichtwoELcodesnippetswilldisplaythestringCobia?()

All Rights Reserved 版权所有©PP题库网库(pptiku.com)

备案号:湘ICP备14005140号-5

经营许可证号:湘B2-20140064