How do i declare the mbean dependency on servlet in the *-service.xml file? For your information, I am using Jboss-3.0.3.
I tried specifying the dependency as the following but it does not work:
This won't work because neither wars nor sevlet
You can do the "Russian Doll" trick where you put
a war in sar. The inner war deployment is deployed
before the MBean in the sar.
I don't know the exact details, but David Jencks
posts this solution a lot.