• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HFSJ mock exam question 56

 
rich dubois
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Creator of Enthuware JWS+ V6
Saloon Keeper
Pie
Posts: 2536
113
Android Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 106
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Frits Walraven
Creator of Enthuware JWS+ V6
Saloon Keeper
Pie
Posts: 2536
113
Android Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic