users@jax-rs-spec.java.net

[jax-rs-spec users] [jsr339-experts] Re: Open questions on JSR 330 support

From: Bill Burke <bburke_at_redhat.com>
Date: Wed, 25 Jan 2012 08:47:59 -0500

On 1/25/12 5:13 AM, Marek Potociar wrote:
> - Should we drop DI and once new CDI extension API is finalized, should we focus more on CDI instead?
>

Yes ditch 330, CDI is a much more of a thought out, rich API and
interface. BTW, AFAIK, DI can't handle parameter injection. @Inject
isn't even parameter scoped. So I don't see why we should mix the two
until that is at least resolved. Also, I"m not sure, but I don't think
CDI supports parameter injection either.

BTW, IMO, JSR-330 was a purely political JSR just to satisfy two
companies that aren't even Java EE providers. One of which attacks Java
EE repeatedly as a cornerstone of their business, they other one is
currently being sued by Oracle. You can guess who these companies are.

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com