單項(xiàng)選擇題

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


您可能感興趣的試卷

你可能感興趣的試題

1.多項(xiàng)選擇題Which two are characteristics of the Transfer Object design pattern?()

A.It reduces network traffic by collapsing multiple remote requests into one.
B.It increases the complexity of the remote interface by removing coarse-grained methods.
C.It increases the complexity of the design due to remote synchronization and version control issues.
D.It increases network performance introducing multiple fine-grained remote requests which return verysmall amounts of data.

最新試題

Click the 'Select and Place' button.Place the events in the order they occur.

題型:?jiǎn)柎痤}

Click the ’Select and Place’ button.Place the events in the order they occur.

題型:?jiǎn)柎痤}

Click the ’Select and Place’ button.Place the events in the order they occur.

題型:?jiǎn)柎痤}

Your company has a corporate policy that prohibits storing a customer’s credit card number in anycorporate database. However, users have complained that they do NOT want to re- enter their credit cardnumber for each transaction. Your management has decided to use client-side cookies to record the user’scredit card number for 120 days. Furthermore, they also want to protect this information during transit fromthe web browser to the web container; so the cookie must only be transmitted over HTTPS.Which codesnippet creates the "creditCard" cookie and adds it to the out going response to be stored on the user’s webbrowser?()

題型:?jiǎn)雾?xiàng)選擇題

Click the ’Select and Place’ button.Place the events in the order they occur.

題型:?jiǎn)柎痤}

Which is a benefit of precompiling a JSP page?()

題型:?jiǎn)雾?xiàng)選擇題

Which two are valid and equivalent?()

題型:多項(xiàng)選擇題

All of your JSPs need to have a link that permits users to email the web master. This web application islicensed to many small businesses, each of which have a different email address for the web master. Youhave decided to use a context parameter that you specify in the deployment descriptor, like this:42.<context-param>43.<param-name>webmasterEmail</param-name>44.<param-value>master@example.com</param-value>45.</context-param>Which JSP code snippet creates this email link?()

題型:?jiǎn)雾?xiàng)選擇題

Which is true about the web container request processing model?()

題型:?jiǎn)雾?xiàng)選擇題

Which ensures that a JSP response is of type "text/plain"?()

題型:?jiǎn)雾?xiàng)選擇題