migrate ejb-core/searchengine (not an EJB) Replace Spring factory using CDI bean provider