Facade
View Helper
Transfer Object
Intercepting Filter
Composite Facade
第1题:
A customer is experiencing a performance bottleneck in a disk subsystem. The server is performing sequential I/O with a small number of users requesting large files. Which of the following would most likely resolve the bottleneck?()
第2题:
Given an Http Session session. A Servlet Request request. And a Servlet Context context. Which retrieves a URL to /WEB INF/ my config.xml within a web application?()
第3题:
You work as an application developer at Certkiller .com. You are currently in the process of creating a new application for Certkiller .com. You are required to read compressed data files that has been sent by Certkiller .com‘s sales offices.These data files are less than 4 GB in size, but was compressed without cyclic redundancy. You want to write a method that receives the compressed files and return the uncompressed data as a byte array.What should you do?()
A.
B.
C.
D.
第4题:
Which two classes or interfaces provide a getSession method?()
第5题:
Which interface must a class implement to be informed of a session creation event?()
第6题:
A developer has created a web application that includes a servlet for each use case in the application.These servlets have become rather difficult to maintain because the request processing methods havebecome very large. There is also common processing code in many servlets because these use cases arevery similar. Which two design patterns can be used together to refactor and simplify this web application?()
第7题:
Your web application uses a simple architecture in which servlets handle requests and then forward to aJSP using a request dispatcher. You need to pass information calculated by the servlet to the JSP;furthermore, that JSP uses a custom tag and must also process this information. This information mustNOT be accessible to any other servlet, JSP or session in the webapp. How can you accomplish this goal?()
第8题:
当属性scope的值为application时,JSP动作定义的JavaBean实例就会被存储到()对象中。
第9题:
Which interface must a session attribute implement if it needs to be notified when a web container persistsa session?()
第10题:
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?()