Christian, welcome to the forums.
Christian Strempfer wrote:
Should trigger:
return ServiceLocator.findEJBService(TestService.class, "ejb/TestService")
My intention is to keep the deployment transparent for the developers. They can use @EJB as normal, but will end up using the service locator.
Isn't it already transparent? I mean each developer just has to do @EJB. That's it! I'm not sure I understand the rationale behind using the ServiceLocator.