[weld-dev] registering the Weld Servlet listener in a web.xml fragment or TLD

Dan Allen dan.j.allen at gmail.com
Thu Oct 7 16:01:16 EDT 2010


https://jira.jboss.org/browse/WELD-718

On Thu, Oct 7, 2010 at 3:06 PM, Dan Allen <dan.j.allen at gmail.com> wrote:

> Ordering leads more to web-fragment.xml as a solution, since it's possible
> to have ordering control. There is no guarantee as to when a listener will
> load that's defined in a TLD (the advantage is only for non-Servlet 3.0
> containers). Given that Weld is a new programming model and likely to be
> used with newer containers, then I'd say we should go with web-fragment.xml.
>
> (Worse case scenario is we introduce a classifier for weld-servlet that
> will be for pre-Servlet 3.0 environments. Something like
> org.jboss.weld.servlet:weld-servlet:1.1:pre-servlet-3)
>



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

http://mojavelinux.com
http://mojavelinux.com/seaminaction
http://www.google.com/profiles/dan.j.allen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/weld-dev/attachments/20101007/7cbf59da/attachment.html 


More information about the weld-dev mailing list