Creates an instance of the Service Locator J2EE design pattern. A service locator encapsulates the JNDI lookup code into a single class, reducing the proliferation of lookup code. The caching service locator pattern stores instances that are already resolved, which reduces subsequent lookups. This pattern is typically used in the web tier.