File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes what could be the answer ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "what could be the answer ?" Watch "what could be the answer ?" New topic
Author

what could be the answer ?

muthu moorthy
Ranch Hand

Joined: Dec 19, 2006
Posts: 87
A system administrator wants to add some common logging functionality to
several web applications. Which J2EE pattern will address this situation?

A Business Delegate
B Intercepting Filter
C Model-View-Controller
D Delegated Administrator
Ali Gohar
Ranch Hand

Joined: Mar 18, 2004
Posts: 572
I think Intercepting Filter. What is Delegated Administrator?
A Kumar
Ranch Hand

Joined: Jul 04, 2004
Posts: 979
Even i second that ...Never heard of Delegated Administrator...

This is logging at server level and not application level...
Johan Pelgrim
Ranch Hand

Joined: Jul 07, 2003
Posts: 105

I think the key thing here is the "several web applications" comment in the question. If you write a 'common-logging-filter' you can reuse that easily by adding that to every web-app DD. My answer would be B as well because the others simply don't make sense in this context...


Johan Pelgrim, The Netherlands
SCJP 1.4, SCWCD 1.4, SCBCD 5.0
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what could be the answer ?