I've made a few simple beans to export using the JMX Exporter in Spring.

Code:
   <bean id="exporter"
          class="org.springframework.jmx.export.MBeanExporter"
          lazy-init="false">
                <property name="beans">
            <map>
                <entry key="Movement:name=SchedulerMBean,service=MovementService"
                       value-ref="SchedulerMBean"/>
            </map>
        </property>
    </bean>
If I make a web-app and put a "depends" tag in my jboss-web.xml, it can't depend on the MBean I exported in my spring app. Is this normal? It works fine with Mbeans deployed as SAR with jboss.

-Avinash