File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Design pattern : reduce network traffic 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 "Design pattern : reduce network traffic" Watch "Design pattern : reduce network traffic" New topic

Design pattern : reduce network traffic

Joshua Antony
Ranch Hand

Joined: Jun 05, 2006
Posts: 254
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

Joined: Feb 15, 2008
Posts: 7

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

Marc Peabody
pie sneak

Joined: Feb 05, 2003
Posts: 4727

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.

A good workman is known by his tools.
I agree. Here's the link:
subject: Design pattern : reduce network traffic
It's not a secret anymore!