I am writing a framework on top of it where other teams develop applications.
I want to provide Dependency Injection as part of it. I am making developers uses JSR 330 annotations and my framework can work on DI.
Still i have the following problem
Developer need to write module if i use Guice, beans.xml if I use WELD. This couples specific DI with my developer app code. I want to switch underlying dependency injection in framework without touching any of the application code.
Is there anyway to do it?