permaculture playing cards
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Service Provider Interface and its usage Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Service Provider Interface and its usage" Watch "Service Provider Interface and its usage" New topic

Service Provider Interface and its usage

Avinash Tiwari
Ranch Hand

Joined: Sep 20, 2006
Posts: 50
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.


Work hard and rest not till the job is done....
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33107

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.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: Service Provider Interface and its usage
It's not a secret anymore!