karyon icon indicating copy to clipboard operation
karyon copied to clipboard

Replace Guice with JSR-330 where possible

Open futurely opened this issue 10 years ago • 1 comments

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.

futurely avatar Feb 01 '15 07:02 futurely

\cc @elandau

NiteshKant avatar Feb 02 '15 18:02 NiteshKant