[weld-dev] Resource declarations outside Java EE

Dan Allen dan.j.allen at gmail.com
Mon Nov 30 16:05:52 EST 2009


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 at 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...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/weld-dev/attachments/20091130/94737cf8/attachment.html 


More information about the weld-dev mailing list