Closed sarnowski closed 14 years ago
As a first step in this direction, use the @Singleton annotations on the implementation classes instead of Singleton binding statements in the modules.
I pushed Guice 2.1 Revision 1168 into http://mvn.cosmocode.de/. It is now possible to start the work with javax.inject.* annotations.
The source code is refactored to use the javax.inject.* annotations. Tests with JavaEE 6 containers are pending.
The implementation is now completly JSR-330 compatible but doesn't support Guice anymore (for now).
As soon as Guice compatibility with JSR-330 is released, make our implementations JSR-330 conform. In that way, we can support plain JavaSE, Guice and JavaEE6 environments out-of-the-box.