Transfer Object
Session Facade
Intercepting Filter
Template Method
Model-View-Controller
第1题:
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? ()
第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题:
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?( )
第7题:
Facade
View Helper
Transfer Object
Intercepting Filter
Composite Facade
第8题:
Access to session-scoped attributes is guaranteed to be thread-safe by the web container.
To activate URL rewriting, the developer must use the HttpServletResponse.setURLRewriting method.
If the web application uses HTTPS, then the web container may use the data on the HTTPS request stream to identify the client.
The JSESSIONID cookie is stored permanently on the client so that a user may return to the web application and the web container will rejoin that session.
第9题:
Command
Transfer Object
Service Locator
Session Facade
Business Delegate
第10题:
Remote Proxy
Front Controller
Service Activator
Intercepting Filter
Business Delegate
第11题:
Transfer Object
Session Facade
Intercepting Filter
Template Method
Model-View-Controller
第12题:
Command
Transfer object
Service locator
Session Façade
Business delegate
Data access object
第13题:
A "trusted" client needs to communicate with a server that has been configured to use CLIENT authentication. Which of the following will be used to verify passwords?()
第14题:
A developer has created a special servlet that is responsible for generating XML content that is sent to adata warehousing subsystem. This subsystem uses HTTP to request these large data files, which are compressed by the servlet to save internal network bandwidth. The developer has received a request frommanagement to create several more of these data warehousing servlets. The developer is about to copyand paste the compression code into each new servlet. Which design pattern can consolidate thiscompression code to be used by all of the data warehousing servlets?()
第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题:
Which the statement is true about web container session management()?
第17题:
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? ()
第18题:
Flyweight
Transfer Object
Service Locator
Dispatcher View
Business Delegate
Model-View-Controller
第19题:
Issue a certificate from the internal CA and install it on the application server
Install the Web application’s certificate into the computer store on each client computer
Install the Web application’s certificate into the personal store on each client computer. Add the application’s URL to the Trusted Sites zone in Internet Explorer
Purchase a commercial certificate and install it on the internal CA
第20题:
Transfer Object
Service Locator
Front Controller
Intercepting Filter
Business Delegate
Model-View-Controller
第21题:
Session Facade
Business Delegate
Data Access Object
Model-View-Controller
Chain of Responsibility
第22题:
Flyweight
Transfer Object
Service Locator
Dispatcher View
Business Delegate
Model-View-Controller
第23题:
Session Façade
Business Delegate
Data Access Object
Model-View-Controller
Chain of Responsibility
第24题:
User ID/password file
Communications layer
Client applications
Operating system