• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Design pattern : reduce network traffic

 
Joshua Antony
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What are the benefits of using the Business Delegate design pattern?

One of the answer was Reduces network traffic. Isn't reducing network traffic the benefit of Transfer Object instead ?

Also checked Peabody notes, there too Reduce network traffic is given as consequence for Transfer Object only
 
Christophe Vansweevelt
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

Yes I think too this belongs to the Tranfer Object (Value Object) Pattern.

Do you remenber the other: it reduces network traffic and ther was another advandtage, it's about improving network performance with coarse-grained of sth, or fine-grained. dunno

Regards,
Christophe
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is possible for a Business Delegate to reduce network traffic if you implement caching in the Business Delegate.

However, caching is not a primary focus of the Business Delegate pattern, so for the exam you can typically assume Transfer Object is the correct answer to any such question.

On the real exam, you also typically get a list of four or more consequences to describe a pattern, not just one. If the real exam expected an answer of Business Delegate they'll provide at least one very obvious clue.

Unfortunately, some mock exams only give you a single consequence or the questions' authors confuse the patterns. For those trying to study, such questions hurt more than help. That's why I made my patterns study document.

When in doubt, check with the corej2eepatterns site.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic