That was one of the first things I tried. I kept getting an error at deployment:
'Resolution should not happen via injection container'
I suppose this was happening as a consequence of other things I was doing wrong. Now I no longer see that message. However, I am using Spring MVC to handle requests, and NOW I get an error message from Spring because it knows nothing about the bean declaraion.