| Author |
HFSJ mock exam question 56
|
rich dubois
Greenhorn
Joined: Feb 16, 2010
Posts: 20
|
|
Hi,
The question is
56. Which of the following is the least likely to make or receive network calls?
A jdni server
B transfer object
c service locator
d front controller
e. intercepting filter
The answer given was B. Why wouldn't answer e, intercepting filters, be correct?
Thanks
|
 |
Frits Walraven
Rancher
Joined: Apr 07, 2010
Posts: 1040
|
|
Hi Rich,
I have never seen the question, but I must say that it is tricky one.
All I can think of is that the Intercepting Filter receives the Request from a client over the network.
Regards,
Frits
|
 |
Rohan kanade
Ranch Hand
Joined: Oct 22, 2009
Posts: 106
|
|
this question is in terms of the Remote Object which is accessed by the business delegate each time in the view (jsp using el) we access a property of that remote object.
thus what the transfer object does is, it is a local copy of the remote object, and thus the network calls are minimized.
|
SCJP 1.6 ,SCWCD 5
|
 |
Frits Walraven
Rancher
Joined: Apr 07, 2010
Posts: 1040
|
|
Hi Rohan,
I think we all agree that the Transfer Object is one that doesn't make or receive network calls. The question of Rich was: why is the Intercepting Filter not a good answer.
Regards,
Frits
|
 |
rich dubois
Greenhorn
Joined: Feb 16, 2010
Posts: 20
|
|
Thanks Fritz and Rohan!!
Both of your answers were helpful and I see the validity in the answer.
PS Fritz thanks to you and all of the others who suggested the Enthuware mock exams, they are very much worth the $29, they are filling a lot of the cracks of my understanding and reinforcing the existing knowledge
|
 |
 |
|
|
subject: HFSJ mock exam question 56
|
|
|