A developer is designing a web application which extensively

题目
单选题
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
解析: 暂无解析
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

A Company.com developer is designing the presentation tier for a web application that relies on a complex session bean. The session bean is still being developed and the APIs for are NOT finalized. Any changes to the session bean API directly impacts the development of the presentation tier.  Which design pattern provides a means to manage the uncertainty in the API?()

  • A、 View Helper
  • B、 Front Controller
  • C、 Composite View
  • D、 Intercepting Filter
  • E、 Business Delegate
  • F、 Chain of Responsibility

正确答案:E

第2题:

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

第3题:

When you are designing a Web application, which options define how rich text displays in a browser?()

  • A、"Using HTML"
  • B、"Using Java Applet"
  • C、"Using AJAX Control"
  • D、"Using Best Fit for OS"

正确答案:C

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

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

正确答案:B

第5题:

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

第6题:

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

第7题:

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

第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 a multi-tier web application and discovers a need to log each incoming clientrequest. 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

正确答案:C,D

第10题:

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

更多相关问题