CDI doesn't do anything. The "container" whatever it is does all
injection. Why is the internal impl of the container interesting to
the user?
P.S. IMO, the spec more or less requires that the "EJB container",
whatever that is, delegates back to the CDI InjectionTarget for all
injection. So the sanest impl is to have the CDI impl do all
injection. But these are details of no concern to the user.
Sent from my iPhone
On Nov 30, 2009, at 4:05 PM, Dan Allen <dan.j.allen(a)gmail.com> wrote:
Great. Okay, just so that I am explaining this right in my talk, if
@Resource and family are on an EJB the EJB container does the
injection, but if the are on a managed bean (i.e., simple bean) then
CDI does the injection. Is that correct?
- Dan Allen
Sent from my Android-powered phone:
An open platform for carriers, consumers
and developers.
> On Nov 30, 2009 6:38 AM, "Pete Muir" <pmuir(a)redhat.com> wrote:
>
> It does :-)
>
> We even have a test!
> On 27 Nov 2009, at 15:01, Gavin King wrote: > Pete, does this work
> in, say, Tomcat: > > @Resour...
>