[javaee-spec users] [jsr342-experts] Re: custom injection annotations

From: Bill Shannon <>
Date: Mon, 05 Nov 2012 20:19:53 -0800

Yoon Kyung Koo wrote on 11/05/2012 06:40 PM:
> I prefer the CDI annotation @Inject.
> In the view of Java EE customers, @BatchContext can be a little confusing.
> I think CDI should be the basis of the Java EE injections.
> If the Batch JSR is not dependent upon Java EE platform, it can be a problem,
> but IMHO the custom injection annotations should not be recommended by JSRs
> under Java EE platform.
And that's exactly the problem. Essentially all spec leads want their specs to
be usable outside of the Java EE platform.

We're back to the issue of "we love CDI but we don't want to depend on it".

Given that requirement, what would you have the Batch JSR do?