试题详情
单项选择题 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
  • 关注下方微信公众号,在线模考后查看

热门试题