This week's book giveaway is in the HTML Pages with CSS and JavaScript forum.
We're giving away four copies of Testing JavaScript Applications and have Lucas da Costa on-line!
See this thread for details.
Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

HFSJ mock exam question 56

 
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
 
Creator of Enthuware JWS+ V6
Posts: 3348
303
Android Eclipse IDE Chrome
  • 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
 
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
Posts: 3348
303
Android Eclipse IDE Chrome
  • 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
 
    Bookmark Topic Watch Topic
  • New Topic