Proxy
View Helper
Front Controller
Session Façade
Business Delegate
Model-View-Controller
第1题:
Which the three are true about servlet filters?()
第2题:
Company.com has an application that has a hard-coded hostname in the startup routines. The application is being made highly available using HACMP. During testing, the application does not start on the standby node because the hostname was not what the application expected. What can be done to fix this problem?()
第3题:
Company.com has decided to use the FUBAR Application Server to host their web application. Unfortunately, the FUBAR Application Server uses the server machine’s file system for its JNDI namespace. Every JNDI lookup performed in the web application is translated into a file 1/0 operation, which results in very poor performance. Which J2EE pattern can help with this performance issue?()
第4题:
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?()
第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 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? ()
第7题:
You work as an application developer at Certkiller .com. You have recently created an application domain for Certkiller .com. A few weeks later you are asked to retrieve information from this application domain, which is the current application domain. What can you do to achieve this objective?()
第8题:
You work as an application developer at Certkiller .com. You have recently created an application domain for Certkiller .com. A few weeks later, you are required to determine if assembly references in this application domain, which is the current application domain, are being cached. What property should you use to achieve this objective?()
第9题:
A
B
C
D
第10题:
Proxy
View Helper
Front Controller
Session Façade
Business Delegate
Model-View-Controller
第11题:
Proxy
View Helper
Front Controller
Session Facade
Business Delegate
Model-View-Controller
第12题:
A
B
C
D
第13题:
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?()
第14题:
You are designing a Windows Azure application. The application includes two web roles and three instances of a worker role. The web roles will send requests to the worker role through one or more Windows Azure Queues. You have the following requirements: - Ensure that each request is processed exactly one time. - Minimize the idle time of each worker role instance. - Maximize the reliability of request processing. You need to recommend a queue design for sending requests to the worker role. What should you recommend?()
第15题:
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?()
第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题:
Servlet A receives a request that it forwards to servlet B within another web application in the same web container. Servlet A needs to share data with servlet B and that data must not be visible to other servlets in A’s web application. In which object can the data that A shares with B be stored?()
第18题:
You copy a Web site from a development site to a staging site. You do not have the Web site in a source control application. Another developer begins to fix bugs on the staging site while the development team adds features on the development site. You need to synchronize the development site and the staging site and copy the latest version of each file to both locations. What should you do? ()
第19题:
You work as the enterprise exchange administrator at Company.com.The Company.com network consists of a single Active Directory domain named Company.com.Company.com has an Exchange Server 2010 organization.Company.com contains an exchange server 2010 server named -sr15 that has the following roles installed: client access, hub transport, and mailbox server.the Company.com also has a windows server 2008 r2 certification authority (ca).Company.com has merged with another company named Courseware Publishers that contains an internal root C A.You have received instructions from the CIO to install a certificate to create the federated trust as well as to reduce the cost. What should you do?()
第20题:
You work as a network Exchange administrator at Company.com.The Company.com network currently consists of a single Active Directory forest containing a single domain named Company.com.The Company.com organization makes use of Microsoft Exchange Server 2010 as their messaging solution.The Company.com network users have been configured by Company.com to have the @Company.com email address suffix.During the course of the business week you receive instruction from Company.com to configure a public folder named KingPublic for the Internet users to post content by sending e-mail to KingPublic@Company.com. What should you do?()
第21题:
Facade
View Helper
Transfer Object
Intercepting Filter
Composite Facade
第22题:
A filter must implement the destroy method
A filter must implement the doFilter method
A servlet may have multiple filters associated with it
A servlet that is to have a filter applied to it must implement the javax.servlet.FilterChain interface
A filter that is part of a filter chain passes control to the next filter in the chain by invoking the filterChain forward method
For each
第23题:
Remote Proxy
Front Controller
Service Activator
Intercepting Filter
Business Delegate
第24题:
HttpSession
ServletConfig
ServletContext
HttpServletRequest
HttpServletResponse