SCWCD(310-083)

单选题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 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题:

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

第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题:

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

A.User ID/password file

B.Communications layer

C.Client applications

D.Operating system


参考答案:D

第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 designpattern provides a solution for this problem?()

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

正确答案:D

第5题:

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

  • A、Command
  • B、Transfer Object
  • C、Service Locator
  • D、Session Facade
  • E、Business Delegate

正确答案:C

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

  • A、User ID/password file
  • B、Communications layer
  • C、Client applications
  • D、Operating system

正确答案:D

第8题:

A 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 havebecome very large. There is also common processing code in many servlets because these use cases arevery similar. Which two design patterns can be used together to refactor and simplify this web application?()

  • A、Proxy
  • B、View Helper
  • C、Front Controller
  • D、Session Facade
  • E、Business Delegate
  • F、Model-View-Controller

正确答案:C,F

第9题:

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

  • A、Facade
  • B、View Helper
  • C、Transfer Object
  • D、Intercepting Filter
  • E、Composite Facade

正确答案:D

第10题:

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

更多相关问题