It would work in both, but for what Bill wants, I think you are correct.
Although as I understand it, he is actually creating a bean inside a deployment?
Bill's approach wont know anything about the scoping rules of the deployment
as he correctly points out.
> <classloader name="resteasy-classloader"The top element here should actually be <classloading>, not <classloader>.
> xmlns="urn:jboss:classloader:1.0" export-all="NON_EMPTY" import-all="true">
> <requirements>
> <module name="org.jboss.resteasy:resteasy-jaxrs" version="2.0-RC1">
> </requirements>
> </classloader>
_______________________________________________
jboss-development mailing list
jboss-development@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-development