• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Why is there a comparision between 'Service Locator' and 'Business Delegate'?

 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello All

From page 728, HFSJ :

There is a comparision between SL and BD models but from what I understand from the previos pages, SL is like a addition to BD pattern.That is we can use either BD and SL or just BD.
So from the comparison on page 728, is it implied that SL alone can be used without BD?

Thanks,
Rohit
 
Ranch Hand
Posts: 294
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

is it implied that SL alone can be used without BD?



There is no mandatory rule that only business delegate can call Service locator.
 
rohit sen
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I understand that but how can we compare SL and BD? They have different functionality and operate at a different level. From what I understand SL and BD are not patterns by itself but just a part of pattern which have a specific functionality ie add a level of abstraction in a pattern. That is the reason the comparision table didn't make sense to me.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic