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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Reply 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: 975
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
Rancher

Joined: Apr 07, 2010
Posts: 1042

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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Business Delegate and SL pattern's abilities
 
Similar Threads
ServiceLocator provides reference to SLSB
Service Locator and Transfer Object
Why is there a comparision between 'Service Locator' and 'Business Delegate'?
Business Delegate Design Pattern
Business Delegate/Session Facade fitting into an MVC application