单项选择题
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
相关考题
-
单项选择题
Adeveloperisdesigningawebapplicationthatmakesmanyfine-grainedremotedatarequestsforeachclientrequest.Duringtesting,thedeveloperdiscoversthatthevolumeofremoterequestssignificantlydegradesperformanceoftheapplication.Whichdesignpatternprovidesasolutionforthisproblem?()
A. Flyweight
B. Transfer Object
C. Service Locator
D. Dispatcher View
E. Business Delegate
F. Model-View-Controller -
单项选择题
Adeveloperisdesigningamulti-tierwebapplicationanddiscoversaneedtologeachincomingclientrequest.Whichtwopatterns,takenindependently,provideasolutionforthisproblem?()
A. Transfer Object
B. Service Locator
C. Front Controller
D. Intercepting Filter
E. Business Delegate
F. Model-View-Controller -
单项选择题
Which is the correct web application deployment descriptor element for defining a servlet initialization parameter?()
A.A
B.B
C.C
D.D
