Service Locator with Hibernate implementation