PrepAway - Latest Free Exam Questions & Answers

what is the best approach for accomplishing this?

A web project contains servlets for handling requests. The servlets are invoked from several HTML
pages, which invoke the servlets in different circumstances. It has become difficult to determine how
many requests are being sent to each servlet. Therefore, the team has decided to count all requests
going into the servlets and the number of times each servlet is called with a specific http parameter.
Within RAD8, what is the best approach for accomplishing this?

PrepAway - Latest Free Exam Questions & Answers

A.
edit the logic for each servlet and add logic to catch the condition and implement the counting
logic there

B.
add a servlet filter that is mapped to the required servlets and implement the counting logic there

C.
implement a controller servlet that receives all the requests and process the logic through it

D.
implement a Web 2.0 Ajax Proxy on all the web pages, which will automatically register the valid
clicks and forward to a handling server side widget


Leave a Reply