多选题Which two are characteristics of the Front Controller pattern?()AIt simplifies remote interfaces to distributed objects.BIt promotes cleaner application partitioning and encourages reuse.CIt provides an initial point of contact for handling all related

题目
多选题
Which two are characteristics of the Front Controller pattern?()
A

It simplifies remote interfaces to distributed objects.

B

It promotes cleaner application partitioning and encourages reuse.

C

It provides an initial point of contact for handling all related requests.

D

It reduces maintainability due to the increased complexity of the design.

E

It provides loosely coupled handlers that can be combined in various permutations.

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

第1题:

Which two are characteristics of the Service Locator pattern?()

  • A、It encapsulates component lookup procedures.
  • B、It increases source code duplication and decreases reuse.
  • C、It improves client performance by caching context and factory objects.
  • D、It degrades network performance due to increased access to distributed lookup services.

正确答案:A,C

第2题:

Which two are characteristics of the IS -IS protocol but not OSPF?()

  • A、forms adjacencies with all neighbors
  • B、supports demand circuit routing
  • C、provides routing support for multiple network layer protocols
  • D、utilizes SPF algorithm
  • E、provides for network scalability by allowing the network to be separated into areas
  • F、three layers of hierarchical routing

正确答案:A,C

第3题:

In an n-tier application, which two invocations are typically remote, not local?()

  • A、JSP to Transfer Object
  • B、Service Locator to JNDI
  • C、Controller to request object
  • D、Transfer Object to Entity Bean
  • E、Controller to Business Delegate

正确答案:B,D

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

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

正确答案:B

第5题:

Which two are characteristics of the Intercepting Filter pattern?()

  • A、 it provides centralized request handling for incoming requests.
  • B、 It forces resource authentication to be distributed across web components.
  • C、 It reduces coupling between presentation-tier clients and underlying business services.
  • D、 It can be added and removed unobtrusively, without requiring changes to existing  code.
  • E、 It allows preprocessing and postprocessing on the incoming requests and outgoing  responses.

正确答案:D,E

第6题:

A Company.com developer is designing a multi-tier web application and discovers a need to hide the details of establishing and maintaining remote communications from the client. In addition, because the business and resource tiers are distributed, the application needs to minimize the inter-tier network traffic related to servicing client requests.  Which design patterns, working together, address these issues?()

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

正确答案:C

第7题:

The Squeaky Bean company has decided to port their web application to a new J2EE 1.4 container. Whilereviewing the application, a developer realizes that in multiple places within the current application, nearlyduplicate code exists that finds enterprise beans. Which pattern should be used to eliminate this duplicatecode?()

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

正确答案:C

第8题:

A developer is designing a multi-tier web application and discovers a need to hide the details of establishingand maintaining remote communications from the client. In addition, because the business and resourcetiers are distributed, the application needs to minimize the inter-tier network traffic related to servicing clientrequests. Which design patterns, working together, address these issues?()

  • A、Front Controller and Transfer Object
  • B、Front Controller and Service Locator
  • C、Business Delegate and Transfer Object
  • D、Business Delegate and Intercepting Filter

正确答案:C

第9题:

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

第10题:

Which the two are characteristics of the Service Locator pattern?()

  • A、 It encapsulates component lookup procedures
  • B、 It increases source code duplication and decreases reuse
  • C、 It improves client performance by caching context and factory objects
  • D、 It degrades network performance due to increased access to distributed lookup services

正确答案:A,C

更多相关问题