Java / Design Patterns
Explain Service Locator design pattern in Java.
Service Locator pattern is one of the core J2EE Design patterns.
Service Locator object abstracts JNDI usage and hides the complexities of initial context creation, EJB home object lookup, and EJB object re-creation. Multiple clients can reuse the Service Locator object to reduce code complexity, provide a single point of control, and improve performance by providing a caching facility.
More Related questions...