The big advantage of this is that it means users as less confused about when to use @EJB and when to use @Inject.
The (dis)advantage is that a user cannot use EJB standalone (not sure this is really an issue).
I think we should do this.
One thing we need to address though, is remote injection - CDI does not support this (we could investigate this for CDI 1.1 of course).
On 4 Jul 2011, at 12:31, Adam Bien wrote:
> Should we deprecate @EJB in favor of @Inject? I would like to file this issue :-)
>
> thanks,
>
> --adam