users@servlet-spec.java.net

[servlet-spec users] Re: [jsr369-experts] Re: Re: [116-CDIRelatedBeansInServletSpec] PROPOSAL

From: arjan tijms <arjan.tijms_at_gmail.com>
Date: Fri, 21 Nov 2014 16:22:04 +0100

Hi,

On Fri, Nov 21, 2014 at 4:03 PM, Edward Burns <edward.burns_at_oracle.com> wrote:
> Ajran, while your observations are accurate, the backward compatibility
> issues raised by Stuart and seconded by Greg are showstoppers for this
> change in my opinion at this point.

Well, there's the CDI mechanism to set a priority (@Priority) and
provide alternatives (@Alternative) in case of multiple producers on
the classpath for the same type. I recently wrote a small article
about that, see
http://jdevelopment.nl/providing-alternatives-jsf-23s-injected-artifacts

I agree that Stuarts concern is valid, but it might not necessarily be
a showstopper. There are even additional mechanisms beyond the CDI
alternatives that might be investigated, such as the deployment
descriptor version check that we use in JSF as well.

Kind regards,
Arjan