Java
T
point
Home
Python
Java
JavaScript
HTML
SQL
PHP
C#
C++
DS
Aptitude
Reasoning
Selenium
DBMS
C
Android
Interview Q
Content Menu ▼
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Question 1
:
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?
1.
Facade
2.
View Helper
3.
Transfer Object
4.
Intercepting Filter