nerdexam
Oracle

1Z0-899 · Question #82

A developer has created a special servlet that is responsible for generating XML content that is sent to a data warehousing subsystem. This subsystem uses HTTP to request these large data files…

The correct answer is D. Intercepting Filter. See the full explanation below for the reasoning.

Question

A developer has created a special servlet that is responsible for generating XML content that is sent to a data 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 from management to create several more of these data warehousing servlets. The developer is about to copy and paste the compression code into each new servlet.Which design pattern can consolidate this compression code to be used by all of the data warehousing servlets?

Options

  • AFacade
  • BView Helper
  • CTransfer Object
  • DIntercepting Filter
  • EComposite Facade

How the community answered

(31 responses)
  • A
    3% (1)
  • B
    6% (2)
  • C
    10% (3)
  • D
    81% (25)

Community Discussion

No community discussion yet for this question.

Full 1Z0-899 Practice