[jboss-user] [JBoss Microcontainer Development POJO Server] - Implementing a non-flat deployment for Weld Integration
Flavia Rainone
do-not-reply at jboss.com
Mon Aug 16 14:52:33 EDT 2010
Flavia Rainone [http://community.jboss.org/people/flavia.rainone%40jboss.com] replied to the discussion
"Implementing a non-flat deployment for Weld Integration"
To view the discussion, visit: http://community.jboss.org/message/557567#557567
--------------------------------------------------------------
> Ales Justin wrote:
>
> > > but it could be made optional to do this at boot time instead.
> The easiest way to do this would be to add a deployer and somesort of weld-lib repository service to the bootstrap process.
> e.g. part of bootstrap.xml sub-systems, which would simply take a set of lib locations to check,
> and spit out a set of lib jars that contain META-INF/beans.xml -- note, there is no Weld dependency, hence can be easily put into bootstrap
Ales, why should I add it to bootstrap?
I mean, can't I just scan the lib dirs as part of the first weld deployment instead of doing it on bootstrap? What are the advantages of doing otherwise?
Another question: once I determine that a specific jar in lib has the META-INF/beans.xml file, what is the cleanest way of retrieving the corresponding lib ClassLoader?
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/557567#557567]
Start a new discussion in JBoss Microcontainer Development POJO Server at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2116]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100816/a9ff35f9/attachment.html
More information about the jboss-user
mailing list