Session Façade
Business Delegate
Data Access Object
Model-View-Controller
Chain of Responsibility
第1题:
A developer is designing a web application which extensively uses EJBs and JMS. The developer finds that there is a lot of duplicated code to build the JNDI contexts to access the beans and queues. Further, because of the complexity, there are numerous errors in the code. Which J2EE design pattern provides a solution for this problem?()
第2题:
A developer is designing a web application which extensively uses EJBs and JMS. The developer finds thatthere is a lot of duplicated code to build the JNDI contexts to access the beans and queues. Further,because of the complexity, there are numerous errors in the code. Which J2EE design pattern provides asolution for this problem?()
第3题:
A developer is designing a web application that must support multiple interfaces,including: an XML web service for B2B HTML for web-based clients WML for wireless customers. Which designpattern provides a solution for this problem?()
第4题:
A developer is designing a web application that makes many fine-grained remote data requests for eachclient request. During testing, the developer discovers that the volume of remote requests significantlydegrades performance of the application. Which design pattern provides a solution for this problem?()
第5题:
A developer is designing the presentation tier for a web application which requires a centralized requesthandling to complete common processing required by each request. Which design pattern provides asolution to this problem?()
第6题:
Flyweight
Transfer Object
Service Locator
Dispatcher View
Business Delegate
Model-View-Controller
第7题:
Transfer Object
Service Locator
Front Controller
Intercepting Filter
Business Delegate
Model-View-Controller
第8题:
View Helper
Front Controller
Composite View
Intercepting Filter
Business Delegate
Chain of Responsibility
第9题:
Session Facade
Business Delegate
Data Access Object
Model-View-Controller
Chain of Responsibility
第10题:
Flyweight
Transfer Object
Service Locator
Dispatcher View
Business Delegate
Model-View-Controller
第11题:
Session Façade
Business Delegate
Data Access Object
Model-View-Controller
Chain of Responsibility
第12题:
Command
Transfer object
Service locator
Session Façade
Business delegate
Data access object
第13题:
A developer is designing a multi-tier web application and discovers a need to log each incoming client request. Which two patterns, taken independently, provide a solution for this problem? ()
第14题:
A developer is designing a multi-tier web application and discovers a need to log each incoming clientrequest. Which two patterns, taken independently, provide a solution for this problem?()
第15题:
A developer is designing a web application that makes many fine-grained remote data requests for each client request. During testing, the developer discovers that the volume of remote requests significantly degrades performance of the application. Which design pattern provides a solution for this problem?()
第16题:
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?()
第17题:
A developer is designing a web application that must support multiple interfaces, including: • an XML web service for B2B • HTML for web-based clients • WML for wireless customers Which design pattern provides a solution for this problem?( )
第18题:
Transfer Object
Service Locator
Front Controller
Intercepting Filter
Business Delegate
第19题:
The developer must ensure that every URL is properly encoded using the appropriate URL rewriting APIs
The developer must provide an alternate mechanism for managing sessions and abandon theHttpSession mechanism entirely
The developer can ignore this issue. Web containers are required to support automatic URL rewriting when cookies are not supported
The developer must ass the string ?id=
第20题:
Command
Transfer Object
Service Locator
Session Facade
Business Delegate
第21题:
Remote Proxy
Front Controller
Service Activator
Intercepting Filter
Business Delegate
第22题:
Transfer Object
Session Facade
Intercepting Filter
Template Method
Model-View-Controller
第23题:
View Helper
Front Controller
Composite View
Intercepting Filter
Business Delegate
第24题:
Transfer Object
Service Locator
Intercepting Filter
Business Delegate