A developer is designing a web application that must verify 

题目
单选题
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?()
A

Transfer Object

B

Session Facade

C

Intercepting Filter

D

Template Method

E

Model-View-Controller

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

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

正确答案:D

第2题:

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? ()

  • A、 Transfer Object
  • B、 Service Locator
  • C、 Front Controller
  • D、 Intercepting Filter
  • E、 Business Delegate
  • F、 Model-View-Controller

正确答案:C

第3题:

Which statement is true about web container session management?()

  • A、Access to session-scoped attributes is guaranteed to be thread-safe by the web container.
  • B、To activate URL rewriting, the developer must use the HttpServletResponse.setURLRewriting method.
  • C、If the web application uses HTTPS, then the web container may use the data on the HTTPS request stream to identify the client.
  • D、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.

正确答案:C

第4题:

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?( )

  • A、 Session Façade
  • B、 Business Delegate
  • C、 Data Access Object
  • D、 Model-View-Controller
  • E、 Chain of Responsibility

正确答案:D

第5题:

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?()

  • A、Flyweight
  • B、Transfer Object
  • C、Service Locator
  • D、Dispatcher View
  • E、Business Delegate
  • F、Model-View-Controller

正确答案:B

第6题:

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?()

  • A、 Command
  • B、 Transfer object
  • C、 Service locator
  • D、 Session Façade
  • E、 Business delegate
  • F、 Data access object

正确答案:C

第7题:

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?()

  • A、 Flyweight
  • B、 Transfer Object
  • C、 Service Locator
  • D、 Dispatcher View
  • E、 Business Delegate
  • F、 Model-View-Controller

正确答案:B

第8题:

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?()

  • A、Transfer Object
  • B、Session Facade
  • C、Intercepting Filter
  • D、Template Method
  • E、Model-View-Controller

正确答案:C

第9题:

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?()

  • A、Remote Proxy
  • B、Front Controller
  • C、Service Activator
  • D、Intercepting Filter
  • E、Business Delegate

正确答案:B

第10题:

You are the desktop administrator for your company. Your company’s software developers use Windows XP Professional and IIS on their client computers to develop Web-based applications. All client computers use Microsoft Internet Explorer 6. 0 or later as their Web browser. One of the developers reports that he can no longer access the Web-based application on his desktop by using his Web browser. When you attempt to access the application by using your Web browser, you receive the following error message: “Cannot find server or DNS Error.” You verify that the World Wide Web Publishing Service is started on the developer’s computer. You also verify that you are using the correct URL to access the developer’s computer by using your Web browser. You need to ensure that the developer can access the Web application by using his Web browser. How should you configure the developer’s computer?() 

  • A、Start the default Web site.
  • B、Start the IIS Admin Service.
  • C、Run the IPconfig /registerdns command.
  • D、In the default Web site properties,disable the host header setting.

正确答案:A

更多相关问题