Is there a reference implementation available for JSR 330 (Dependency Injection)? When I google for JSR 330 it invariably leads to some links for CDI (JSR 299) and CDI implementations like Weld.
I was wondering if there is a RI available for 330 which I could happily use in my Java standalone applications.
(CDI is targeted at Java EE whereas the JCP page of JSR 330 says it is targeted at Java SE).
Google Guice is the RI for JSR 330 starting from version 3.0. But as far as I know the only advantage for a Java SE project at the moment is that you can use the standardized annotation (like @Inject) instead of the Guice-specific ones from earlier versions of Guice.
Unfortunately I don't know what the future plans are for JSR 330 regarding Java standalone applications. Maybe the said annotations or a complete DI framework will be included in the JDK of future Java versions. I don't know...