Arjan,
This very topic has been discussed with Ed Burns (Servlet Spec lead) and he agreed to work
on moving these feature from CDI to his spec. Ideally CDI shouldn’t have dependency to
front specs (servlet, jsf, jax-rs). We’ll try to work in that direction for version 2.0.
Antoine
Le 17 nov. 2014 à 22:23, arjan tijms <arjan.tijms(a)gmail.com> a
écrit :
Hi,
On Mon, Nov 17, 2014 at 10:04 PM, Antonio Goncalves
<antonio.goncalves(a)gmail.com> wrote:
> Like @dblevins once said "EJB was a super hype spec with all the cool
> features... and became blotted throughout the years". If we are not careful,
> CDI (the super hype spec at the moment) will become blotted too
I strongly support that!
IMHO as little as possible of these higher level features should be
implemented within CDI itself, so that CDI itself can completely focus
on being the contextual DI spec on which all other specs can build.
I think it's already problematic that CDI 1.1 provided producers for
Servlet artifacts, instead of letting the Servlet spec itself define
those producers. If/when Servlet starts depending on CDI there will be
a rather awkward circular dependency.
Kind regards,
Arjan
_______________________________________________
cdi-dev mailing list
cdi-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/cdi-dev
Note that for all code provided on this list, the provider licenses the code under the
Apache License, Version 2 (
http://www.apache.org/licenses/LICENSE-2.0.html). For all other
ideas provided on this list, the provider waives all patent and other intellectual
property rights inherent in such information.