JAVA DESIGN PATTERN Questions and Answers

When service locator pattern is used?

When we want to locate various services using JNDI we use service locator pattern.