[seam-dev] Seam Startup Performance

Stuart Douglas stuart.w.douglas at gmail.com
Fri Jul 8 19:27:24 EDT 2011


Hi Guys,

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. 

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

Stuart


More information about the seam-dev mailing list