[jboss-dev-forums] [JBoss AS7 Development] - Re: Weld boot performance

Stuart Douglas do-not-reply at jboss.com
Tue Nov 23 18:05:37 EST 2010


Stuart Douglas [http://community.jboss.org/people/swd847] created the discussion

"Re: Weld boot performance"

To view the discussion, visit: http://community.jboss.org/message/572597#572597

--------------------------------------------------------------
I may be getting a bit ahead of myself thinking about performance at this stage :-)

The problem is that according to the spec Weld has to fire ProcessAnnotatedType for every class in the bean archive. Weld does have a non-portable extension to limit the classes that are scanned, but in the general case there is not really any way around this. Even if you could build the meta model from other sources without loading the class (which I am not sure is possible), as soon as portable extensions enter the mix you are almost certainly going to have to load the class anyway.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/572597#572597]

Start a new discussion in JBoss AS7 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20101123/ed0caf4c/attachment.html 


More information about the jboss-dev-forums mailing list