Answer by Erik_A for How to get dependency injection to work in Liberty Profile
Another solution would be to add a beans.xml file to the web project and configure beans.xml with bean-discovery-mode="all".See also this explanation:...
View ArticleAnswer by Gas for How to get dependency injection to work in Liberty Profile
Rest resources are not CDI enabled by default. Add the following to your HelloResource class @RequestScoped after @ParthThen this will work: @Resource(lookup="concurrent/execSvc") ExecutorService...
View ArticleHow to get dependency injection to work in Liberty Profile
I cannot get dependency injection to work in Liberty Profile. Here's what I have tried: server.xml excerpts:...
View Article
More Pages to Explore .....