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&...]