<div class="gmail_quote">On Thu, Oct 7, 2010 at 2:47 PM, Nicklas Karlsson <span dir="ltr"><<a href="mailto:nickarls@gmail.com">nickarls@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br><br><div class="gmail_quote"><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>Btw, we are already including other automatic configurations, such as a JSF phase listener and view handler (META-INF/faces-config.xml).</div>
<div><br></div><div>Worthy of a JIRA?</div><div><br></div><div>
</div></div></blockquote><div><br></div></div><div>Yes, auto-registration would be nice. I though there was a JIRA for this. It's important that the Weld listener kicks in early if people want injection to work in their own servlet listeners. Would it be worth the effort to coordinate with OWB/CanDI on a common name (CDI-IMPL)? so that people can take it into account if they write CDI modules that need to know at which point it can be found in the fragments?</div>
</div></blockquote><div><br></div><div>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.</div>
<div><br></div><div>(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)</div><div><br></div>
<div>-Dan</div></div><br>-- <br>Dan Allen<br>Principal Software Engineer, Red Hat | Author of Seam in Action<br>Registered Linux User #231597<br><br><a href="http://mojavelinux.com" target="_blank">http://mojavelinux.com</a><br>
<a href="http://mojavelinux.com/seaminaction" target="_blank">http://mojavelinux.com/seaminaction</a><br><a href="http://www.google.com/profiles/dan.j.allen" target="_blank">http://www.google.com/profiles/dan.j.allen</a><br>