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.

On Wed, Jul 14, 2010 at 9:43 AM, Ales Justin <ales.justin@gmail.com> wrote:
>    <classloader name="resteasy-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>

The top element here should actually be <classloading>, not <classloader>.


_______________________________________________
jboss-development mailing list
jboss-development@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-development