aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Business Delegate and SL pattern's abilities 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 "Business Delegate and SL pattern Watch "Business Delegate and SL pattern New topic
Author

Business Delegate and SL pattern's abilities

Parth Twari
Ranch Hand

Joined: Jan 20, 2010
Posts: 163
Can Business Delegate and Service Locator pattern provide Better Performance?

yes/no.


My answer : yes

because SL caches the requests it improves performance by reducing the time for look up.

Source: HF Final Mock exam 2nd edition
Question 32

What do you think?


Parth Tiwari
| Pursuing Bachelor of Engineering | OSUM Club Leader | SCJP 6 | SCWCD 5 |...
Gian Franco
blacksmith
Ranch Hand

Joined: Dec 16, 2003
Posts: 977
I think you are right, see also Business Delegate


"Eppur si muove!"
Parth Twari
Ranch Hand

Joined: Jan 20, 2010
Posts: 163
Anyone else thinks the same?
Frits Walraven
Creator of Enthuware JWS+ V6
Bartender

Joined: Apr 07, 2010
Posts: 1717
    
  25

I agree you can cache the references to services (SL) and you can even think of chaching results of a business service (in the Business layer) to avoid network traffic for remote business services (BD)

Regards,
Frits
Parth Twari
Ranch Hand

Joined: Jan 20, 2010
Posts: 163
Right thanks..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Business Delegate and SL pattern's abilities