[cdi-dev] Easier access to CDI outside of Java EE, easier access to instances

Dan Allen dan.j.allen at gmail.com
Thu Sep 8 12:57:17 EDT 2011


On Wed, Sep 7, 2011 at 08:47, Pete Muir <pmuir at redhat.com> wrote:

> This API offers quite a different view onto CDI than BeanManager, and from
> the comments we've received on CDI 1.0 [1] I believe it is an API that
> people are going to find more useful, leaving BeanManager for more "power"
> use cases. This was my reason to split it out, but I'm open to other
> suggestions?
>

That's the other benefit. It puts BeanManager back where it belongs, which
is a low-level API. Before we call CDI 1.1 final, I hope we can survey the
popular uses of BeanManager and see if any of those are similar to this case
where a better API could be provided to avoid the need for BeanManager to be
overly used. (It's possible this could knock out 80-90% of the cases).

-Dan

-- 
Dan Allen
Principal Software Engineer, Red Hat | Author of Seam in Action
Registered Linux User #231597

http://www.google.com/profiles/dan.j.allen#about
http://mojavelinux.com
http://mojavelinux.com/seaminaction
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/cdi-dev/attachments/20110908/19c4c415/attachment.html 


More information about the cdi-dev mailing list