jsr345-experts@ejb-spec.java.net

[jsr345-experts] Re: Should we deprecate _at_EJB

From: Pete Muir <pmuir_at_bleepbleep.org.uk>
Date: Mon, 4 Jul 2011 12:51:29 +0100

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