Can anybody tell me how to use SingletonBeanFactoryLocator or a custom BeanFactoryLocator in the EJBs (AbstractEnterpriseBean) as well as in POJOs ? It would be a great help if somebody give me a good reference material regarding BeanFactoryLocator and SingletonBeanFactoryLocator.