• Post Reply Bookmark Topic Watch Topic
  • New Topic

Service Provider Interface and its usage  RSS feed

 
Avinash Tiwari
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is a service provider interface in actual. Does it applies when you want to create a vendor product and expose the service or it can be utilized in the application developer way too.

What condition precedes usage of this.

Does it have any resemblance with Façade pattern?

Please advice.

Thanks,
Avinash
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 36666
475
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See this blog post describing the pattern. A facade is meant for reducing the number of calls. Service provider (and locator) are for finding an object.

Note: I've seen ServiceLocator as a pattern and that's the one Oracle/the JEE cert references.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!