<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">There is some multi threaded stuff that can be done, and I am hoping to do it for AS 7.1.<div><br></div><div>We could also optionally have a setting that allows portable extension notifications to be fired asynchronously, although you would need to make sure that all PE's in your add were thread safe. This would provide a massive boost to startup time.</div><div><br></div><div>Stuart&nbsp;<br><div><br></div><div><br></div><div><br><div><div>On 09/07/2011, at 10:39 AM, Jason Porter wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div bgcolor="#FFFFFF"><div>I've wondered about the start time of Seam 3 apps. Seems like it takes a while.&nbsp;</div><div><br></div><div>Lincoln: you on 1.1.1.Final now?</div><div><br></div><div>I've also wondered if event notification could be done or is done in a multi threaded way. We start getting a lot of those first life cycle calls going to many archives and it probably starts taking a bunch of time.&nbsp;<br><br>Sent from my iPhone</div><div><br>On Jul 8, 2011, at 18:25, "Lincoln Baxter, III" &lt;<a href="mailto:lincolnbaxter@gmail.com">lincolnbaxter@gmail.com</a>&gt; wrote:<br><br></div><div></div><blockquote type="cite"><div>God, doing that in Forge would be a nightmare. Too many classes, too many beans. I just need weld to start up faster!<br><br><div class="gmail_quote">On Fri, Jul 8, 2011 at 7:45 PM, Dan Allen <span dir="ltr">&lt;<a href="mailto:dan.j.allen@gmail.com"></a><a href="mailto:dan.j.allen@gmail.com">dan.j.allen@gmail.com</a>&gt;</span> wrote:!
 <br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Fri, Jul 8, 2011 at 19:27, Stuart Douglas <span dir="ltr">&lt;<a href="mailto:stuart.w.douglas@gmail.com" target="_blank"></a><a href="mailto:stuart.w.douglas@gmail.com">stuart.w.douglas@gmail.com</a>&gt;</span> wrote:<br>
</div><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">

Hi Guys,<br>
<br>
I was just looking at the startup performance of the Seam 3 booking example on AS7, and I noticed that because the Seam 2 archives that it deploys are bean archives, it actually wastes quite a lot of time on startup registering Seam 3 classes as CDI beans that are never used.<br>



<br>
It occurred to me that we can get around this by using a beans.xml that includes welds &lt;scan&gt; extension in beans.xml to prevent uneeded beans being registered we could significantly improve the performance and memory usage of Seam 3 apps.<br>


</blockquote><div><br></div></div><div>Now that the&nbsp;ridiculous&nbsp;visibility and extensions in non-bean archive problems are resolved, I'm in favor of switching back to registering beans manually rather than using beans.xml. That seems like a performance enhancement that's portable, so that we don't suck if Weld isn't the provider.</div>


<div><br></div><div>But I agree we should do one of the two options. We'll be moving tests around in Seam to align the setup, so it seems like a good time to run tests with the updated bean registration strategy.</div>


<div><br></div><div>-Dan</div><div><br></div></div><font color="#888888">-- <br><div>Dan Allen</div>Principal Software Engineer, Red Hat | Author of Seam in Action<br>Registered Linux User #231597<br><br><div><a href="http://www.google.com/profiles/dan.j.allen#about" target="_blank"></a><a href="http://www.google.com/profiles/dan.j.allen#about">http://www.google.com/profiles/dan.j.allen#about</a><br>


<a href="http://mojavelinux.com/" target="_blank"></a><a href="http://mojavelinux.com/">http://mojavelinux.com</a><br><a href="http://mojavelinux.com/seaminaction" target="_blank"></a><a href="http://mojavelinux.com/seaminaction">http://mojavelinux.com/seaminaction</a><br></div><br>
</font><br>_______________________________________________<br>
seam-dev mailing list<br>
<a href="mailto:seam-dev@lists.jboss.org"></a><a href="mailto:seam-dev@lists.jboss.org">seam-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/seam-dev" target="_blank"></a><a href="https://lists.jboss.org/mailman/listinfo/seam-dev">https://lists.jboss.org/mailman/listinfo/seam-dev</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Lincoln Baxter, III<br><a href="http://ocpsoft.com/"></a><a href="http://ocpsoft.com/">http://ocpsoft.com</a><br><a href="http://scrumshark.com/"></a><a href="http://scrumshark.com/">http://scrumshark.com</a><br>"Keep it Simple"<br>

</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>seam-dev mailing list</span><br><span><a href="mailto:seam-dev@lists.jboss.org">seam-dev@lists.jboss.org</a></span><br><span><a href="https://lists.jboss.org/mailman/listinfo/seam-dev">https://lists.jboss.org/mailman/listinfo/seam-dev</a></span><br></div></blockquote></div>_______________________________________________<br>seam-dev mailing list<br><a href="mailto:seam-dev@lists.jboss.org">seam-dev@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/seam-dev<br></blockquote></div><br></div></div></body></html>