+1 for a veto in case of cdi 1.1.

@external producers:
we can document it (how users can veto e.g. producers, if they see any
overlap).
however, deltaspike shouldn't add complexity just because there might be a
custom producer (for the same).

regards,
gerhard



2014/1/4 Christian Kaltepoth <[email protected]>

> @John: Actually the Servlet module provides more than what CDI 1.1 adds.
> For example the event propagation and the recently added "WebStorage" for
> the resource loading and so on. So people may want to add the Servlet
> module even in a CDI 1.1 container.
>
> I'm also +0 for that. Of cause it would be nice to get rid of @Web. For the
> CDI 1.1 case we could actually veto our produces as Thomas suggested. But
> what about other portable extensions that may have producers for @Default.
> Say I'm using CDI 1.0 and also have Solder on the classpath. I think Solder
> is still a common dependency of some libraries, correct? In some regard it
> is nice to have a custom "namespace" for the producers.
>
>
>
> 2014/1/3 Thomas Andraschko <[email protected]>
>
> > Because our customers have different servers (tomcat7 and even 6,
> > glassfish, jboss), so it would be a great enhancement for product
> > development.
> >
> >
> > 2014/1/3 John D. Ament <[email protected]>
> >
> > > If you're in servlet 3.1/CDI 1.1 you don't even need the servlet
> > > module (so why include it as a dependency?)
> > >
> > > On Fri, Jan 3, 2014 at 1:09 PM, Romain Manni-Bucau
> > > <[email protected]> wrote:
> > > > -0 both injections can be different depending on containers using
> some
> > > > advanced stuff out of ee but affecting ee lifecycle (at least in
> > tomcat)
> > > > but your proposal sounds acceptable.
> > > > Le 3 janv. 2014 17:58, "Thomas Andraschko" <
> > [email protected]>
> > > a
> > > > écrit :
> > > >
> > > >> Hi,
> > > >>
> > > >> IMHO @Web is somehow annoying.
> > > >> HttpServlet e.g. is always "web", so @Web is just a overhead and
> > doesn't
> > > >> look nice.
> > > >>
> > > >> Can't we just veto the producers if CDI1.1 is available?
> > > >> The code would be the same with CDI 1.0 + DS, CDI 1.1 without or
> with
> > > DS.
> > > >>
> > > >> Regards,
> > > >> Thomas
> > > >>
> > >
> >
>
>
>
> --
> Christian Kaltepoth
> Blog: http://blog.kaltepoth.de/
> Twitter: http://twitter.com/chkal
> GitHub: https://github.com/chkal
>

Reply via email to