karyon
karyon copied to clipboard
Replace Guice with JSR-330 where possible
Below is an excerpt from the Guice wiki.
JSR-330 Integration
New in Guice 3.0
JSR-330 standardizes annotations like @Inject and the Provider interfaces for Java platforms. It doesn't currently specify how applications are configured, so it has no analog to Guice's modules.
Guice implements a complete JSR-330 injector. This table summarizes the JSR-330 types and their Guice equivalents.
......
Best Practices
Prefer JSR-330's annotations and Provider interface.
\cc @elandau